Use polar to create a Butterfly curve plot
Show older comments

1 Comment
Rik
on 26 Sep 2019
Your teacher also knows about this forum. Copy-pasting a ready-made solution is cheating, and you will probably not get it here.
Answers (1)
Bruno Teramoto
on 26 Sep 2019
0 votes
theta = [0:pi/32:8*pi];
r = exp(sin(theta)) - 2*cos(4*theta) - (sin((2*theta - pi)/24)).^5;
polar(theta,r,'--r')
title('butterfly curve')
xlabel('theta (\theta)')
ylabel('r')
Categories
Find more on Spline Postprocessing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!