MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   【求助】help me! (https://www.labfans.com/bbs/showthread.php?t=1977)

zhuchuanwei 2008-03-31 16:26

【求助】help me!
 
斑竹或者高人能给解决一下不


程序部分:
for i=1:M
for j=1:N
if err_sum(i,j)>=err_threshold%err_threshold
temp1=err_sum(i-2:i+2,j-2:j+2);
[minValue,minIndex]=min(temp1(:));
[m,n]=ind2sub([5 5],minIndex);
u=3-m;
v=3-n;
temp2=Z(i-u-2:i-u+2,j-v-2:j-v+2);%出现问题
问题部分:
??? Subscript indices must either be real positive integers or logicals.

Error in ==> compute_HKz_GOOD at 70
temp2=Z(i-u-2:i-u+2,j-v-2:j-v+2);%出现问题

yizhougis 2008-04-01 15:54

程序给的不完整,很多未知的东西!仅从这些代码能看出来又难度!


所有时间均为北京时间。现在的时间是 12:56

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.