function f3;
n=1;
for i=10 : 99
m=factor(i);
if(length(m)==1)
a(n)=m;
n=n+1;
end
end
a
function f6(n)
if (nargin==0)
t=0:0.01:2*pi;
polar(t,sin(t).^2+cos(t).^2);
elseif(n>2 & fix(n)==n)
t=0:2*pi/n:2*pi;
polar(t,sin(t).^2+cos(t).^2);
else
error('input must be a postive integer and above 2');
end
function result=f7(s)
n=1;
temp='';
for i=1 : length(s)
if(s(i)>='A' & s(i)<='Z')
temp=strcat(temp,s(i));
n=n+1;
end
end
result=temp
function f8
x=0:0.2:2*pi;
y=sin(x+pi/4);
z=cos(x+pi/3);
figure(1);
plot(x,y);
pause;
figure(2);
plot(x,z);
pause(15);
figure(3);
plot(x,y);
hold on;
plot(x,z);