在下面的Matlab编程中遇到的维数不一致的问题,如何进行改正,请求大神帮忙解答,很着急!!!!!
x=2006:0.5:2013;airlines=[117711126374116842135921163821128426242550325287];flow=[575...
x=2006:0.5:2013;
airlines=[117711 126374 116842 135921 163821 128426 242550 325287];
flow=[57570 58741 58516 72544 105611 93911 157500 200709];
weather=[75797 79937 59398 75676 78802 61255 136080 160721];
other=[25107 16778 19384 38460 55278 59458 93870 82283];
subplot(2,2,1);
plot(x,airlines);
title('airlines')
subplot(2,2,2);
plot(x,flow);
title('flow');
subplot(2,2,3);
plot(x,weather);
title('weather');
subplot(2,2,4);
plot(x,other);
title('other');
出现??? Error using ==> plot
Vectors must be the same lengths.
Error in ==> Untitled1 at 9
plot(x,airlines);这种错误的提示,如何进行修正?求大神赶快帮忙解答 展开
airlines=[117711 126374 116842 135921 163821 128426 242550 325287];
flow=[57570 58741 58516 72544 105611 93911 157500 200709];
weather=[75797 79937 59398 75676 78802 61255 136080 160721];
other=[25107 16778 19384 38460 55278 59458 93870 82283];
subplot(2,2,1);
plot(x,airlines);
title('airlines')
subplot(2,2,2);
plot(x,flow);
title('flow');
subplot(2,2,3);
plot(x,weather);
title('weather');
subplot(2,2,4);
plot(x,other);
title('other');
出现??? Error using ==> plot
Vectors must be the same lengths.
Error in ==> Untitled1 at 9
plot(x,airlines);这种错误的提示,如何进行修正?求大神赶快帮忙解答 展开
- 你的回答被采纳后将获得:
- 系统奖励15(财富值+成长值)+难题奖励20(财富值+成长值)
若以下回答无法解决问题,邀请你更新回答
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询