matlab Conversion to double from sym is not possible w=2000;theta=0:0.01:8*pi;vc=2.*cos(theta).*w-2.*cos(theta).*2.*w.*sin(theta)./5./sqrt(1-0.16.*(cos(theta)).^2);ac=-1600.*cos(2.*x)./(1-0.16.*(cos(x)).^2).^0.5-4000.*sin(x)+128.*cos(x).*sin(x).*sin(
来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/20 01:03:21
matlab Conversion to double from sym is not possible w=2000;theta=0:0.01:8*pi;vc=2.*cos(theta).*w-2.*cos(theta).*2.*w.*sin(theta)./5./sqrt(1-0.16.*(cos(theta)).^2);ac=-1600.*cos(2.*x)./(1-0.16.*(cos(x)).^2).^0.5-4000.*sin(x)+128.*cos(x).*sin(x).*sin(
matlab Conversion to double from sym is not possible
w=2000;
theta=0:0.01:8*pi;
vc=2.*cos(theta).*w-2.*cos(theta).*2.*w.*sin(theta)./5./sqrt(1-0.16.*(cos(theta)).^2);
ac=-1600.*cos(2.*x)./(1-0.16.*(cos(x)).^2).^0.5-4000.*sin(x)+128.*cos(x).*sin(x).*sin(2.*x)./(1-0.16.*(cos(x)).^2).^1.5;
plot(theta,ac)
matlab Conversion to double from sym is not possible w=2000;theta=0:0.01:8*pi;vc=2.*cos(theta).*w-2.*cos(theta).*2.*w.*sin(theta)./5./sqrt(1-0.16.*(cos(theta)).^2);ac=-1600.*cos(2.*x)./(1-0.16.*(cos(x)).^2).^0.5-4000.*sin(x)+128.*cos(x).*sin(x).*sin(
ac中变量x没有被定义;
在第三句后面换行加上: syms x;
最后一句polt(theta,ac)
改为ezplot(theta,ac)就可以了