Attempted to access A(:,2); index out of bounds because size(A)=[1980,1].[I1 map]=imread('D:\B\附件1\000.bmp');II1=im2double(I1);[I2 map]=imread('D:\B\附件1\001.bmp');II2=im2double(I2);[I3 map]=imread('D:\B\附件1\002.bmp');II3=im2double(I3);[I4

来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/25 14:36:03
AttemptedtoaccessA(:,2);indexoutofboundsbecausesize(A)=[1980,1].[I1map]=imread(''D:\B\附件1\000.bmp'');I

Attempted to access A(:,2); index out of bounds because size(A)=[1980,1].[I1 map]=imread('D:\B\附件1\000.bmp');II1=im2double(I1);[I2 map]=imread('D:\B\附件1\001.bmp');II2=im2double(I2);[I3 map]=imread('D:\B\附件1\002.bmp');II3=im2double(I3);[I4
Attempted to access A(:,2); index out of bounds because size(A)=[1980,1].
[I1 map]=imread('D:\B\附件1\000.bmp');II1=im2double(I1);
[I2 map]=imread('D:\B\附件1\001.bmp');II2=im2double(I2);
[I3 map]=imread('D:\B\附件1\002.bmp');II3=im2double(I3);
[I4 map]=imread('D:\B\附件1\003.bmp');II4=im2double(I4);
[I5 map]=imread('D:\B\附件1\004.bmp');II5=im2double(I5);
[I6 map]=imread('D:\B\附件1\005.bmp');II6=im2double(I6);
[I7 map]=imread('D:\B\附件1\006.bmp');II7=im2double(I7);
[I8 map]=imread('D:\B\附件1\007.bmp');II8=im2double(I8);
[I9 map]=imread('D:\B\附件1\008.bmp');II9=im2double(I9);
[I10 map]=imread('D:\B\附件1\009.bmp');II10=im2double(I10);
[I11 map]=imread('D:\B\附件1\010.bmp');II11=im2double(I11);
[I12 map]=imread('D:\B\附件1\011.bmp');II12=im2double(I12);
[I13 map]=imread('D:\B\附件1\012.bmp');II13=im2double(I13);
[I14 map]=imread('D:\B\附件1\013.bmp');II14=im2double(I14);
[I15 map]=imread('D:\B\附件1\014.bmp');II15=im2double(I15);
[I16 map]=imread('D:\B\附件1\015.bmp');II16=im2double(I16);
[I17 map]=imread('D:\B\附件1\016.bmp');II17=im2double(I17);
[I18 map]=imread('D:\B\附件1\017.bmp');II18=im2double(I18);
[I19 map]=imread('D:\B\附件1\018.bmp');II19=im2double(I19);
A=zeros(1980,19);
A(:,1)=II1(:,1);A(:,2)=II2(:,1);A(:,3)=II3(:,1);A(:,4)=II4(:,1);
A(:,5)=II5(:,1);A(:,6)=II6(:,1);A(:,7)=II7(:,1);A(:,8)=II8(:,1);
A(:,9)=II9(:,1);A(:,10)=II10(:,1);A(:,11)=II11(:,1);A(:,12)=II12(:,1);
A(:,13)=II13(:,1);A(:,14)=II14(:,1);A(:,15)=II15(:,1);A(:,16)=II16(:,1);
A(:,17)=II17(:,1);A(:,18)=II18(:,1);A(:,19)=II19(:,1);
B(:,1)=II1(:,72);B(:,2)=II2(:,72);B(:,3)=II3(:,72);B(:,4)=II4(:,72);
B(:,5)=II5(:,72);B(:,6)=II6(:,72);B(:,7)=II7(:,72);B(:,8)=II8(:,72);
B(:,9)=II9(:,72);B(:,10)=II10(:,72);B(:,11)=II11(:,72);B(:,12)=II12(:,72);
B(:,13)=II13(:,72);B(:,14)=II14(:,72);B(:,15)=II15(:,72);B(:,16)=II16(:,72);
B(:,17)=II17(:,72);B(:,18)=II18(:,72);B(:,19)=II19(:,72);
A
B
data=xlsread('E:\A.xls');
A=A(:,1);
B=A(:,2);
C=A(:,3);
D=A(:,4);
请问这个错误是什么原因,

Attempted to access A(:,2); index out of bounds because size(A)=[1980,1].[I1 map]=imread('D:\B\附件1\000.bmp');II1=im2double(I1);[I2 map]=imread('D:\B\附件1\001.bmp');II2=im2double(I2);[I3 map]=imread('D:\B\附件1\002.bmp');II3=im2double(I3);[I4
是什么时候碰到的错误