新手请教…matlab画y=x为什么不对??
我写的程序是
>> x=1:0.001:10;>> y=x;>> plot(y);>> grid on;
画出来的图形是
请问这是为什么????
那请问那个横坐标是0:9000又是为什么啊??
新书见谅啊
plot(Y) plots the columns of Y versus their index.
If Y is complex, plot(Y) is equivalent to plot(real(Y),imag(Y)).
帮助文件里面说的是等于plot(real(y),imag(Y)),实部和虚部吗??
默认横坐标是 1: length(y)
本回答被提问者和网友采纳