Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Subscripted assignment dimension mismatch.

3 visualizaciones (últimos 30 días)
dharani m
dharani m el 1 de Nov. de 2015
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
Error in MPR (line 18) qmprt(1,k)=id;

Respuestas (1)

Jan
Jan el 1 de Nov. de 2015
I suggest to search the error message in the internet at first.
Then set a breakpoint in this line and run the code again. When Matlab stops in this line, inspect the dimension of the locally used arrays:
size(k)
size(qmprt(1, k))
size(id)
Now you will find out - most likely - that the left hand side and the right hand side have different sizes and an assignment is impossible in consequence.

La pregunta está cerrada.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by