作业帮 > 综合 > 作业

matlab 出错Error using ==> mrdivide Matrix dimensions must agr

来源:学生作业帮 编辑:作业帮 分类:综合作业 时间:2024/10/04 13:15:53
matlab 出错Error using ==> mrdivide Matrix dimensions must agree.
clear;
clc;
syms y0 t;
hold on;
axis([1,90,0,3]);
t=1:775;
t=t/30.93;
y0=15274.6-(2670+0.2766*t.^2);
y0=19580/y0;
plot(t,y0,'-b','linewidth',3);
图画不出来,请高手看看这哪里有问题.
y0=19580/y0;
这句话有误,应该是y0=19580./y0;
在分子后加了个点.,因为y0是矩阵,要用点除