fitting multiple data simultaneosly
显示 更早的评论
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.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Descriptive Statistics 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!