matlab中错误vectors must be the same lengths 是怎么回事?t=[0.25 0.5 1 1.5 2 3 4 6 8];c=[19.21 18.15 15.36 14.10 12.89 9.32 7.45 5.24 3.01];subplot(1,1,1);plot(x,y,'o')要对一组数据进行拟合,写了以上程序,报了Vectors must be the
来源:学生作业帮助网 编辑:作业帮 时间:2024/06/22 03:13:19
![matlab中错误vectors must be the same lengths 是怎么回事?t=[0.25 0.5 1 1.5 2 3 4 6 8];c=[19.21 18.15 15.36 14.10 12.89 9.32 7.45 5.24 3.01];subplot(1,1,1);plot(x,y,'o')要对一组数据进行拟合,写了以上程序,报了Vectors must be the](/uploads/image/z/10200330-18-0.jpg?t=matlab%E4%B8%AD%E9%94%99%E8%AF%AFvectors+must+be+the+same+lengths+%E6%98%AF%E6%80%8E%E4%B9%88%E5%9B%9E%E4%BA%8B%3Ft%3D%5B0.25+0.5+1+1.5+2+3+4+6+8%5D%3Bc%3D%5B19.21+18.15+15.36+14.10+12.89+9.32+7.45+5.24+3.01%5D%3Bsubplot%281%2C1%2C1%29%3Bplot%28x%2Cy%2C%27o%27%29%E8%A6%81%E5%AF%B9%E4%B8%80%E7%BB%84%E6%95%B0%E6%8D%AE%E8%BF%9B%E8%A1%8C%E6%8B%9F%E5%90%88%2C%E5%86%99%E4%BA%86%E4%BB%A5%E4%B8%8A%E7%A8%8B%E5%BA%8F%2C%E6%8A%A5%E4%BA%86Vectors+must+be+the)
matlab中错误vectors must be the same lengths 是怎么回事?t=[0.25 0.5 1 1.5 2 3 4 6 8];c=[19.21 18.15 15.36 14.10 12.89 9.32 7.45 5.24 3.01];subplot(1,1,1);plot(x,y,'o')要对一组数据进行拟合,写了以上程序,报了Vectors must be the
matlab中错误vectors must be the same lengths 是怎么回事?
t=[0.25 0.5 1 1.5 2 3 4 6 8];
c=[19.21 18.15 15.36 14.10 12.89 9.32 7.45 5.24 3.01];
subplot(1,1,1);plot(x,y,'o')
要对一组数据进行拟合,写了以上程序,报了Vectors must be the same lengths错误,
matlab中错误vectors must be the same lengths 是怎么回事?t=[0.25 0.5 1 1.5 2 3 4 6 8];c=[19.21 18.15 15.36 14.10 12.89 9.32 7.45 5.24 3.01];subplot(1,1,1);plot(x,y,'o')要对一组数据进行拟合,写了以上程序,报了Vectors must be the
x和y没有定义,plot(x,y,'o')改成plot(t,c,'o')即可,错误提示应该是x无定义,你给出的英文的意思是横纵坐标元素个数不一样,无法作图.
中国物联网校企联盟技术部