求教一种matlab极坐标图像画法。

我这个方程f(r,theta)比较复杂,尝试过solve(f(r,theta),r)把它变成r=g(theta)的形式,但是解不出来。所以想问问大佬们有没有什么方法能把这种复杂形式的方程画出来

 Risposta accettata

0 voti

举个例子:
% fun = @(t,r)r.^3 + cos(t);
fun = @(t,r)2.7.^sin(t)-2*cos(4*t)+sin((2*t-pi)/24).^5-r;
h = fimplicit(fun,[-12*pi,12*pi],'MeshDensity',2000);
t = h.XData;
r = h.YData;
delete(h);
polar(t,r)

Più risposte (0)

Categorie

Scopri di più su 启动和关闭 in Centro assistenza e File Exchange

Community Treasure Hunt

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

Start Hunting!