Matlab Error using ==> plot Vectors must be the same lengths.为什么用Glue 法校正后 我的best 值比观察值多了

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/06 17:19:54
Matlab Error using ==> plot Vectors must be the same lengths.为什么用Glue 法校正后 我的best 值比观察值多了

Matlab Error using ==> plot Vectors must be the same lengths.为什么用Glue 法校正后 我的best 值比观察值多了
Matlab Error using ==> plot Vectors must be the same lengths.
为什么用Glue 法校正后 我的best 值比观察值多了

Matlab Error using ==> plot Vectors must be the same lengths.为什么用Glue 法校正后 我的best 值比观察值多了
画图的两个坐标向量长度不一样,就好像你给了他8个x轴的点和对应的9个y的值,他不知道多出来一个要画哪里.
具体是怎么多出来的你看你源代码吧.如果确实就应该多出来那么就想办法把少的那个补一些或者把长的那个删掉一些……