- /
-
Rose Art Parametric Function
on 19 Oct 2024
- 21
- 251
- 1
- 0
- 212
Theme of Kalki (Telugu) by Santhosh Narayan
drawframe(1);
Write your drawframe function below
% Dhimas Mahardika S.Si., M.Mat.
% from Sanggung Utara, Jatingaleh, Candisari
% Universitas Nasional Karangturi
% Universitas Diponegoro
function drawframe(f)
t = linspace(0,20*pi,2000);
h = linspace(7.5,10,192);
a=h(f)
x=(0.16*(asin(cos(a*t))).^3 + 0.05*t).*cos(t)
y=(0.16*(asin(cos(a*t))).^3 + 0.05*t).*sin(t)
plot(x,y,'LineWidth',3,'Color',[0 0 0])
axis equal
axis([-4 4 -4 4])
end