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 天)
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