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

Antworten (1)

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 Kommentar

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.

Diese Frage ist geschlossen.

Gefragt:

am 29 Nov. 2017

Geschlossen:

am 20 Aug. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by