为什么matlab程序老是报 plot Vectors must be the same lengths.的错误?..
来源:学生作业帮 编辑:神马作文网作业帮 分类:综合作业 时间:2024/09/20 15:32:21
为什么matlab程序老是报 plot Vectors must be the same lengths.的错误?..
t=0:0.01:1;
[t,x,y]=sim('orange',2)
plot(t,y);
maxy=max(y) %求响应的最大值
ys=y(length(t)) %求响应的终值
pos=(maxy-ys)/ys %求取超调量
grid
ys=y(length(t)) %求响应的终值
L=length(t);
while(y(L)>0.98*ys)&(y(L)
t=0:0.01:1;
[t,x,y]=sim('orange',2)
plot(t,y);
maxy=max(y) %求响应的最大值
ys=y(length(t)) %求响应的终值
pos=(maxy-ys)/ys %求取超调量
grid
ys=y(length(t)) %求响应的终值
L=length(t);
while(y(L)>0.98*ys)&(y(L)
可能是orange.mdl模型中没有输出端口Out1吧?所以y的值不对.
为什么matlab程序老是报 plot Vectors must be the same lengths.的错误?..
matlab plot 提示错误:Vectors must be the same lengths!
哪位大侠知道这个MATLAB的错误啊 plot Vectors must be the same lengths.
matlab的Vectors must be the same lengths.错误
MATLAB运行错误:Error using plot Vectors must be the same lengths
matlab中错误vectors must be the same lengths 是怎么回事?
求matlab高手~Error using plot Vectors must be the same lengths问
Matlab Error using ==> plot Vectors must be the same lengths
matlab问题Vectors must be the same lengths.
matlab运行遇到问题:Vectors must be the same lengths.
matlab提示“Vectors must be the same lengths.
跪等!matlab中Vectors must be the same lengths