Azzera filtri
Azzera filtri

Getting an indexing error in my matlab program. Please help.

1 visualizzazione (ultimi 30 giorni)
for i=0:8
for j=0:27
N_matrix(i)(j)=0;(ERROR HERE)
end
end
()-indexing must appear last in an index expression.

Risposta accettata

KSSV
KSSV il 15 Ott 2018
for i=1:8
for j=1:27
N_matrix(i,j)=0;(ERROR HERE)
end
end
  6 Commenti
KSSV
KSSV il 15 Ott 2018
YOu ay find it useful :<https://in.mathworks.com/matlabcentral/answers/91303-how-to-convert-a-code-from-c-language-to-matlab>

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by