why i'm getting this error?
2 次查看(过去 30 天)
显示 更早的评论
采纳的回答
Stephen23
2018-3-25
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 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!