Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

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

Risposte (1)

Nicolas Schmit
Nicolas Schmit il 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 Commento
Dereje
Dereje il 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.

Community Treasure Hunt

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

Start Hunting!

Translated by