Filter löschen
Filter löschen

why i'm getting this error?

1 Ansicht (letzte 30 Tage)
ocsse
ocsse am 25 Mär. 2018
Bearbeitet: ocsse am 25 Mär. 2018
this error : Subscripted assignment dimension mismatch.
  2 Kommentare
Stephen23
Stephen23 am 25 Mär. 2018
What is t ?
ocsse
ocsse am 25 Mär. 2018
i update the question

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Stephen23
Stephen23 am 25 Mär. 2018
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?

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by