be real positive integers or logicals.这是什么问题?
??? Subscript indices must either be real positive integers or logicals.Error in ==> bp1 at 10
np(i,:)=0.2+(p(i,:)-min(p(i,:)))/(max(p(i,:))-min(p(i,:)))*0.6; 这些看不出来,给出完整程序吧 可能是你的i没有被赋值,matlab可能把i认作虚数了 原帖由 balletboy 于 2007-6-5 18:51 发表 http://www.chinavib.com/forum/images/common/back.gif
??? Subscript indices must either be real positive integers or logicals.
Error in ==> bp1 at 10
np(i,:)=0.2+(p(i,:)-min(p(i,:)))/(max(p(i,:))-min(p(i,:)))*0.6;
请自己设置断点,调试一下程序,保证下标索引为正整数
页:
[1]