Attempted to access a(:,2); index out of bounds because size(a)=[950,1].>> a=load('E:\MATLAB\R2009a\work\test4_1.dat');a=a(:,3)/33.3380;b=a(:,2)/45;plot(a,b);hold off

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/05 14:35:14
Attempted to access a(:,2); index out of bounds because size(a)=[950,1].>> a=load('E:\MATLAB\R2009a\work\test4_1.dat');a=a(:,3)/33.3380;b=a(:,2)/45;plot(a,b);hold off

Attempted to access a(:,2); index out of bounds because size(a)=[950,1].>> a=load('E:\MATLAB\R2009a\work\test4_1.dat');a=a(:,3)/33.3380;b=a(:,2)/45;plot(a,b);hold off
Attempted to access a(:,2); index out of bounds because size(a)=[950,1].
>> a=load('E:\MATLAB\R2009a\work\test4_1.dat');
a=a(:,3)/33.3380;
b=a(:,2)/45;
plot(a,b);
hold off

Attempted to access a(:,2); index out of bounds because size(a)=[950,1].>> a=load('E:\MATLAB\R2009a\work\test4_1.dat');a=a(:,3)/33.3380;b=a(:,2)/45;plot(a,b);hold off
a=load('E:\MATLAB\R2009a\work\test4_1.dat');
a1=a(:,3)/33.3380;%原来你这一步改变了a的取值.
b=a(:,2)/45;
plot(a1,b);
hold off