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 Commento

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

Risposte (0)

Questa domanda è chiusa.

Richiesto:

il 25 Giu 2013

Chiuso:

il 20 Ago 2021

Community Treasure Hunt

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

Start Hunting!

Translated by