MATLAB does't define the constant values in fsolve function first

Hi All
I have defined a function F with some equations , 1 parameter as a vector to be solved, and for the constant values in the equations I have defined them some lines before defining the equations, I call this F function from a loop in anothe r m.file, but the problem is that when matlab starts to run the @fsovle, it doesn't recognize thos constant lines and jumps to the equations, I am wondering how it works that causes this error

1 commentaire

@farzad: please show us the code that you are using: either coped and pasted, and uploaded by clicking the paperclip button.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Programming dans Centre d'aide et File Exchange

Question posée :

le 6 Jan 2018

Commenté :

le 4 Fév 2018

Community Treasure Hunt

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

Start Hunting!

Translated by