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

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

Accepted Answer

华纳公司注册【微8785092】
举个例子:
% 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)

More Answers (0)

Categories

Find more on 启动和关闭 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!