why i'm getting this error?

this error : Subscripted assignment dimension mismatch.

2 comentarios

Stephen23
Stephen23 el 25 de Mzo. de 2018
What is t ?
ocsse
ocsse el 25 de Mzo. de 2018
i update the question

Iniciar sesión para comentar.

 Respuesta aceptada

Stephen23
Stephen23 el 25 de Mzo. de 2018

0 votos

This line
m(i,:) = a0 + ...
The LHS references 500 elements (because m has size 4x500), whereas the RHS has size 1x2500 (because t has size 1x2500). How do you expect to put 2500 elements into 500?

Más respuestas (0)

Etiquetas

Preguntada:

el 25 de Mzo. de 2018

Editada:

el 25 de Mzo. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by