Intersections between 2 graphs

1 vue (au cours des 30 derniers jours)
Jhanzaib Humayun
Jhanzaib Humayun le 10 Oct 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

Réponse acceptée

Fabio Freschi
Fabio Freschi le 10 Oct 2019
  1 commentaire
Jhanzaib Humayun
Jhanzaib Humayun le 12 Oct 2019
Thanks! :)

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Produits


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by