Info

この質問は閉じられています。 編集または回答するには再度開いてください。

I am getting an error 'Dimensions of matrices being concatenated are not consistent' I have attached the m-files. Thank you for your help:)

1 回表示 (過去 30 日間)
Dereje
Dereje 2017 年 11 月 29 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
I have attached my m-files. Thank you for your help:)

回答 (1 件)

Nicolas Schmit
Nicolas Schmit 2017 年 11 月 30 日
In the RHS function, the size of parameter3 is 1x28. You probably need to correct your code so that its size is 1x1. Maybe this has something to do with the calculation of Nsquare.
  1 件のコメント
Dereje
Dereje 2017 年 11 月 30 日
Yes that was my error I couldn't able to solve it. Nsquare should return a single value for every value of z. I tried different ways.

Community Treasure Hunt

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

Start Hunting!

Translated by