MATLAB 小白syms t;XB(t)=cos(10*t);YB(t)=sin(10*t);XD=-258*cos(
来源:学生作业帮 编辑:作业帮 分类:综合作业 时间:2024/09/13 03:50:38
MATLAB 小白
syms t;
XB(t)=cos(10*t);
YB(t)=sin(10*t);
XD=-258*cos(atan((258^2+514^2-384^2)/2*514*384));
YD=258*sin(atan((258^2+514^2-384^2)/2*514*384));
CanA1(t)=2*200*(XD-XB(t));%The first RRR;
CanB1(t)=2*200*(YD-YB(t));
CanC1(t)=200^2+(XD-XB(t))^2+(YD-YD(t))^2-200^2;
SQRT1(t)=sqrt(CanA1(t)^2+CanB1(t)^2-CanC1(t)^2);
JiaoB(t)=2*atan((CanB1(t)-SQRT1(t)/(CanA1(t)+CanC1(t)));
ezplot(JiaoB(t))
错误
The following error occurred converting from sym to double:
Error using mupadmex
Error in MuPAD command:DOUBLE cannot convert the input expression into a double
array.
If the input expression contains a symbolic variable,use the VPA function
instead.小白求大神更正
syms t;
XB(t)=cos(10*t);
YB(t)=sin(10*t);
XD=-258*cos(atan((258^2+514^2-384^2)/2*514*384));
YD=258*sin(atan((258^2+514^2-384^2)/2*514*384));
CanA1(t)=2*200*(XD-XB(t));%The first RRR;
CanB1(t)=2*200*(YD-YB(t));
CanC1(t)=200^2+(XD-XB(t))^2+(YD-YD(t))^2-200^2;
SQRT1(t)=sqrt(CanA1(t)^2+CanB1(t)^2-CanC1(t)^2);
JiaoB(t)=2*atan((CanB1(t)-SQRT1(t)/(CanA1(t)+CanC1(t)));
ezplot(JiaoB(t))
错误
The following error occurred converting from sym to double:
Error using mupadmex
Error in MuPAD command:DOUBLE cannot convert the input expression into a double
array.
If the input expression contains a symbolic variable,use the VPA function
instead.小白求大神更正
你写的,确实存在比较多的错误,给你改了下,可以运行.希望能帮到你clearsyms t;XB_t=cos(10*t);YB_t=sin(10*t);XD=-258*cos(atan((258^2+514^2-384^2)/2*514*384));YD=258*sin(atan((258^2+514^2-384^2)/2*514*384));CanA1_t=2*200*(XD-XB_t);%The first RRR;CanB1_t=2*200*(YD-YB_t);CanC1_t=200^2+(XD-XB_t)^2+(YD-YB_t)^2-200^2;%应该为YB?SQRT1_t=sqrt(CanA1_t^2+CanB1_t^2-CanC1_t^2);JiaoB_t=2*atan((CanB1_t-SQRT1_t/(CanA1_t+CanC1_t)));FJiaoB_t=inline(JiaoB_t);ezplot(JiaoB_t,[-1,1])![](http://img.wesiedu.com/upload/f/c7/fc7abc899b6a19803e8fb913283afdaa.jpg)
![](http://img.wesiedu.com/upload/f/c7/fc7abc899b6a19803e8fb913283afdaa.jpg)
matlab符号计算syms s1 s2 t f ps1=solve('2*3^(1/2)*cos(t)*sin(f)-
t=0:pi/100:10*pi; x=2*(cos(t)+t*sin(t)); y=2*(sin(t)-t*cos(t
用matlab 如何作出y与t的图?y=(sin(t)-sin(t0))^2 且 cos t+t*sin t-cos t
matlab中t=linspace(0,2*pi,100);x=[t;t]';y=[sin(t);cos(t)]';pl
matlaB函数问题t = -pi:0.01:pi;x=cos(t)-sin(3*t);y=sin(t)+cos(t);
如何x(t)=cos(t)+asin(t) y(t)=sin(t)+bcos(t) expressing x(t) in
cos^3+sin^3 求化简设t=cos+sin
matlab参数方程绘图x=sin(t);y=cos(t);0
matlab频谱分析,对于信号 f(t)=exp(-0.01*t)*cos(t)+2*exp(-0.02*t)*cos(
Matlab u(x,t)=sin(5*pi*x)cos(5*pi*t)+2sin(7*pi*x)cos(7*pi*t)
x=4*sin(2*pi*0.01*t).*sin(2*pi*3*t)+2*cos(pi*t*t/4);在matlab中
Matlab积分报错 syms x y dx dy z t;global e a c;x=a*cos(t);y=a*e*