角度替换为什么不对。

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
这样哪里错了呢

 Respuesta aceptada

sicigor
sicigor el 18 de Nov. de 2022

0 votos

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

Más respuestas (0)

Categorías

Más información sobre Simulink Design Optimization en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 18 de Nov. de 2022

Respondida:

el 18 de Nov. de 2022

Community Treasure Hunt

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

Start Hunting!