for i=1:30 b(i,:,:)=nonzeros(A(i,:,:)); bb(i,:,:)=unique(b(i,:,:)); bbb(i)=sum(bb(i,:,:))/length(bb(i,:,:));end
MATLAB: The next code without for loop display accurately results but when use the loop show error “Assignment has more non-singleton rhs dimensions than non-singleton subscripts”, why ? and What can I do to solve this problem
hi
Best Answer