Info

This question is closed. Reopen it to edit or answer.

Error: Subscript indices must either be real positive integers or logicals.

1 view (last 30 days)
for i = 1:sizex;
for j = 1:sizey;
cor = Xc(i,j,1);
blank( ([i j 1]*A) ) = cor;
end
end
Subscript indices must either be real positive integers or logicals.
Error in testando (line 35) blank( ([i j 1]*A) ) = cor;
  1 Comment
Nitin
Nitin on 25 Jun 2013
Did you initialize blank?
What is A? A Matrix or a value? Is it element wise multiplication?

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!