Matlab nonlinear regression
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I have never used matlab, and i need help with a nonlinear regression problem, ive looked up the nlinfit funtction help but I dont understand it a lot.
I have mi I data, and my V data. i have my plot. Now im supposed to do an nonlinear regression as far as i understand thi is my function
I(V)=Ix-Ix(V/Vx)^(n+q) I know I and V but i need to find Ix,(n+q) and V. I'll appreciated if someone can help out.
0 comentarios
Respuesta aceptada
Matt Tearle
el 14 de Mzo. de 2011
You need to make a function of two variables b and V. The three elements of b are the three unknowns lx, (n+q), and Vx. Note that, as given, there's no way to determine n and q individually, only the sum. Once you have the function foo(b,V), pass that to nlinfit, with an initial guess at b
b = nlinfit(Vdata,Idata,@foo,[pi;42;0])
2 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Linear Regression en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!