角度替换为什么不对。

xt=@(a)r*cos(a)+ht*(r1*sin(a)+r*cos(a)/g);
yt=@(a)r*sin(a)-ht*(r1*cos(a)+r*sin(a)/g);
xt1=subs(xt,a,[0:0.1:2*pi]);
yt1=subs(yt,a,[0:0.1:2*pi]);
想把角度a 换成0:2*pi
这样哪里错了呢

 Accepted Answer

sicigor
sicigor on 18 Nov 2022

0 votes

xt1=subs(xt,‘a’,[0:0.1:2*pi]);
yt1=subs(yt,‘a’,[0:0.1:2*pi]);

More Answers (0)

Categories

Find more on Simulink Design Optimization in Help Center and File Exchange

Tags

Asked:

on 18 Nov 2022

Answered:

on 18 Nov 2022

Community Treasure Hunt

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

Start Hunting!