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 个评论

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

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Programming 的更多信息

提问:

2018-1-6

评论:

2018-2-4

Community Treasure Hunt

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

Start Hunting!

Translated by