% Button pushed function: Button
function ButtonPushed(app, event)
syms the rol
F=app.resistanceSlider.Value;
q=app.chargeSlider.Value;
B=app.fieldSlider.Value;
m=app.qualitySlider.Value;
r=m*F/(q*B)^2;
G(the,rol)=the+sqrt(rol^2-r^2)/r+asin(r/rol)==0;
r_sln=solve(G(the,rol));
pax = polaraxes(app.UIFigure);
polarplot(pax,r_sln)................................错误使用 polarplot
数据必须为可转换为双精度值的数值、日期时间、持续时间或数组。
自己尝试过将r_sln转换为double型,系统提示需要用subs求解后再转换,可求解后方程变为数值,无法进行画图