Inputs must have the same size.matlab代码错误for i =1:19;dizhi='C:\Users\zty\Desktop\2013\B\附件1\';wenjianming='0' & i & '.bmp';x=imread(dizhi & wenjianming);xi=im2double(x);endError using & Inputs must have the same size.

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/28 19:53:48
Inputs must have the same size.matlab代码错误for i =1:19;dizhi='C:\Users\zty\Desktop\2013\B\附件1\';wenjianming='0' & i & '.bmp';x=imread(dizhi & wenjianming);xi=im2double(x);endError using & Inputs must have the same size.
x)+(-)V--.QH,KU(HU(NUz%9IOv/~唙/֯O/RT52NɬȴUw -N-**qI-./1204qy9m1yYyy j@cr ԭ+l3sRS4FőTkZWdRKrR5*4SR\)-UMR>>B.X$?u8X~CX`50~H}d+5*.)ԁ"-.A Xl>eųi;uyڿ餞 Ӂ=[tk=ٱ yv@(^S

Inputs must have the same size.matlab代码错误for i =1:19;dizhi='C:\Users\zty\Desktop\2013\B\附件1\';wenjianming='0' & i & '.bmp';x=imread(dizhi & wenjianming);xi=im2double(x);endError using & Inputs must have the same size.
Inputs must have the same size.matlab代码错误
for i =1:19;
dizhi='C:\Users\zty\Desktop\2013\B\附件1\';
wenjianming='0' & i & '.bmp';
x=imread(dizhi & wenjianming);
xi=im2double(x);
end
Error using &
Inputs must have the same size.

Inputs must have the same size.matlab代码错误for i =1:19;dizhi='C:\Users\zty\Desktop\2013\B\附件1\';wenjianming='0' & i & '.bmp';x=imread(dizhi & wenjianming);xi=im2double(x);endError using & Inputs must have the same size.
wenjianming=['0',num2str(i),'.bmp'];
x=imread([dizhi,wenjianming]);
应该这样用方括号和逗号连接字符串.