Info

This question is closed. Reopen it to edit or answer.

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 view (last 30 days)
I have attached my m-files. Thank you for your help:)

Answers (1)

Nicolas Schmit
Nicolas Schmit on 30 Nov 2017
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 Comment
Dereje
Dereje on 30 Nov 2017
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.

This question is closed.

Community Treasure Hunt

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

Start Hunting!