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 Kommentar

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

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Programming finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 6 Jan. 2018

Kommentiert:

am 4 Feb. 2018

Community Treasure Hunt

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

Start Hunting!

Translated by