No BSD License  

Highlights from
MATLAB for Engineers

from MATLAB for Engineers by Adrian Biran
Companion Software

fig10_12.m
%FIG10_12 plots Figure 10.12, Illumination pattern of a lamp, Example 10.7.
%      The pattern characterizes a lamp that emits uniformly in all directions.

alpha = 0: pi/60: 2*pi;
theta = alpha - pi/2;
e = cos(alpha).^3;
axis square
polar(theta, e)

Contact us at files@mathworks.com