conversion into cartesian formula
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
fima v
am 17 Feb. 2017
Beantwortet: Star Strider
am 17 Feb. 2017
Hello, i have the following polar formulapresented bellow, i am trying to convert into cartesian formula, the only way i thought was using "taylor" command to get even an approximated version,but its not working on polar formulas,"pol2cart" command only converts the points, where as i need only a cartesian formula expression of y=f(x) ,what should i do? Thanks
phi=0.87*sin((log(r)*pi)/(log(tau)));
1 Kommentar
Alexandra Harkai
am 17 Feb. 2017
Why would you need a different function from polar to Cartesian other than pol2cart? Is it the actual formula you're looking for or just a tool that does it?
Akzeptierte Antwort
Star Strider
am 17 Feb. 2017
It is not going to be an easy conversion. I would do a direct substitution (see the subs call for the substitutions I used), then solve it numerically. No analytic solution exists (at least that I can see).
The Code —
syms phi r tau x y
Eq = phi == 0.87*sin((log(r)*pi)/(log(tau)));
Eq = subs(Eq, {phi, r}, {atan(y/x), sqrt(x^2+y^2)})
Eq = simplify(expand(Eq), 'Steps',20)
Eq =
atan(y/x) == (87*sin((pi*log((x^2 + y^2)^(1/2)))/log(tau)))/100
Eq =
87*sin((pi*log(x^2 + y^2))/(2*log(tau))) == 100*atan(y/x)
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Array Geometries and Analysis finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!