fitting multiple data simultaneosly
Show older comments
I have a set of data that relates to three different temperatures. I need to use non linear regression to find the optimal parameters that can describe all the three data sets using a model. I can do this in Excel solver and also do for a single data in Matlab but cannot do simultaneously for multiple data IN Matlab. example (not actual data but describes my problem)
@ T=20 i have data P1= rand(6,1) and V1= rand(6,1) @ T=40 i have data P2= rand(4,1) V2=rand(4,1) @ T=60 i have data P3=rand (7,1),V3=rand(7,1).
the model equation that needs to fit all three data is given as
V= (B.exp(C/T))/(A+P) i need to find parameters B,A and C that will fit the above 3 data sets appropriately. please can someone show me how this will be done in Matlab ? as this will save me lots of time doing it in excel (i have lots of data and different equations ). your help will be very much appreciated.
Accepted Answer
More Answers (0)
Categories
Find more on Descriptive Statistics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!