this error : Subscripted assignment dimension mismatch.

2 件のコメント

Stephen23
Stephen23 2018 年 3 月 25 日
What is t ?
ocsse
ocsse 2018 年 3 月 25 日
i update the question

サインインしてコメントする。

 採用された回答

Stephen23
Stephen23 2018 年 3 月 25 日

0 投票

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?

その他の回答 (0 件)

質問済み:

2018 年 3 月 25 日

編集済み:

2018 年 3 月 25 日

Community Treasure Hunt

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

Start Hunting!

Translated by