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

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 Kommentar

Did you initialize blank?
What is A? A Matrix or a value? Is it element wise multiplication?

Antworten (0)

Diese Frage ist geschlossen.

Gefragt:

am 25 Jun. 2013

Geschlossen:

am 20 Aug. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by