Prev: frequency axis basic
Next: Simulink PLL
From: Alex Huesman on 4 Jul 2010 22:08 Hi, For the following equation y = N/alphadot + (N*(gamma/nu)^alphadot)*log(gamma/nu)/(1-(gamma/nu)^alphadot) - sumA where N, gamma, nu, and sumA are all known variables, I am trying to find the zero of the function for the unknown variable alphadot. This seems like it should be pretty simple to me, but I can't figure out the right way to do this...it seems as though the fzero/fsolve functions only work for equations with one variable. I need to leave N, gamma, nu, and sumA as variables as their values are based on the input parameters given by the user. Thank you very much for any help you can offer. I really appreciate it.
From: James West on 11 Jul 2010 17:19 If you have the user input the values for these variables they are no longer variables in the sense of a mathematical equation, they are now constants. If you plug in 1 for all the variables you listed you get y = 1/alphadot+ (1^alphadot)*log(1)/(1-1^alphadot)-1 A function of 1 variable. "Alex Huesman" <hues0016(a)d.umn.edu> wrote in message <i0req6$3n2$1(a)fred.mathworks.com>... > Hi, > > For the following equation > > y = N/alphadot + (N*(gamma/nu)^alphadot)*log(gamma/nu)/(1-(gamma/nu)^alphadot) - sumA > > where N, gamma, nu, and sumA are all known variables, I am trying to find the zero of the function for the unknown variable alphadot. This seems like it should be pretty simple to me, but I can't figure out the right way to do this...it seems as though the fzero/fsolve functions only work for equations with one variable. I need to leave N, gamma, nu, and sumA as variables as their values are based on the input parameters given by the user. > > Thank you very much for any help you can offer. I really appreciate it.
|
Pages: 1 Prev: frequency axis basic Next: Simulink PLL |