Fitting with dependent variable in model expr
Show older comments
When trying to combine data taken in two independent experiments, I ran across the following problem when fitting:
z(P) = w(z)*f(P)
w(z) is known in the form of a cfit object, z is the dependent and P the independent from a set of data.
My first thoughts were to invert the function to obtain P(z) rather than z(P) and then to use eval in the model, but I can't figure out the proper way to formulate the fittype model to allow for this sort of behavior.
Does anybody know how to do this? I need a few pointers :)
Answers (1)
Niko
on 24 Feb 2011
Categories
Find more on Linear and Nonlinear Regression in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!