Intersections between 2 graphs

1 Ansicht (letzte 30 Tage)
Jhanzaib Humayun
Jhanzaib Humayun am 10 Okt. 2019
Kommentiert: Jhanzaib Humayun am 12 Okt. 2019
r=@(o)(2+sin(3.*o))./(sqrt(1+exp(cos(o))));
o=linspace(-pi,pi);
[x,y]=pol2cart(o,r(o));
plot(x,y)
hold on
[a,b]=cirkel(0,0,1); %Draws a circle with [0,0] as center and 1 radius
plot(a,b,'r')
How do I find the intersection of these two figures?
I get this graph if I run the programCircle and a clover.png

Akzeptierte Antwort

Fabio Freschi
Fabio Freschi am 10 Okt. 2019

Weitere Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Produkte


Version

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by