Use polyfit to find standard curve fitting functions
1 view (last 30 days)
Show older comments
I have two matrix
T3_All and T3_Max
Given these two matrices how do I find the linear, power and exponential functions using polyfit function?
Answers (1)
Walter Roberson
on 10 Oct 2018
polyfit(x, y, 1)
polyfit(x, exp(y), 1) %you might need to take log() of part of the results
polyfit(x, log(y), 1) %you might need to take exp() of part of the results
0 Comments
See Also
Categories
Find more on Array and Matrix Mathematics 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!