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 Comment

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

Sign in to comment.

Answers (0)

Categories

Find more on Programming in Help Center and File Exchange

Asked:

on 6 Jan 2018

Commented:

on 4 Feb 2018

Community Treasure Hunt

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

Start Hunting!