I am learning Matlab now. I need to write a code to solve a nonlinear equation. That equation has 4 variables(say a, b, c and d). b,c and d depends on an array arr(i). I know the arr matrix. Now for each value of arr(i), I want to solve the equation and find a. I tried fsolve as well as fminsearch. fminsearch only gives the min value of the function but not 'a'. in fsolve, there should be only one variable but i have more variables, whose values I know. Now how to solve this equation. I need to differentiate between 'a' and other variables, but how. Keep in mind I have still learning matlab
. Hope to get a reply soon.
0 · ·