for n=1:5 A([5-n 5+n],5-n:5+n)=.5*(25+A(6-n,5)); A(6-n:4+n,[5-n 5+n])=.5*(25+A(6-n,5));end
MATLAB: I have the following code .its showing ” subscript indices must be either real positive integer or logicals”.Plz anyone answer whr is d problem
subscript indices must be either real positive integer or logicals
Best Answer