- /
-
r = sin(0.2*a* theta)
on 20 Nov 2023
- 12
- 17
- 2
- 0
- 211
drawframe(1);
Write your drawframe function below
function drawframe(f)
a = linspace(0,15,48);
theta = linspace(0,2*pi,101);
rho = sin((a(f)/5)*theta);
p = polarplot(theta,rho,'LineWidth',2,'Color',[.9 .7 .2]);
rlim([0 1.05]);
set(gca,'Color','k','RTick',[],'ThetaTick',[])
set(gcf,'Color','k');
end