Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

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

1 vue (au cours des 30 derniers jours)
Laryssa Seabra
Laryssa Seabra le 25 Juin 2013
Clôturé : MATLAB Answer Bot le 20 Août 2021
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 commentaire
Nitin
Nitin le 25 Juin 2013
Did you initialize blank?
What is A? A Matrix or a value? Is it element wise multiplication?

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by