Curve fitting non-linear multi-variable functions
3 次查看(过去 30 天)
显示 更早的评论
Hello,
I am a bit lost on the concept here, and not sure if this functionality is available in the curve fitting toolbox or machine learning toolbox. I have data from experiments (f(x)) that vary as a function of x. These have been collected by varying a parameter 13 times. I have fitted a non-linear curve (power function) to each of these experiments, and are labelled f(1) to f(13) on the image. Each of these curves share the same independent variable (x), and I am trying to fit the trend of all of these curves into a single function to show how they vary as a function of another parameter (experimental parameter). This creates a multivariable composite function g(f(x),x). Is there any way for me to use an optimization technique in order to fit all of these functions into a single function that show the trend of the curves as I go from 1 to 13? I am quite lost here.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/261312/image.jpeg)
Thank you for any assistance!
0 个评论
回答(1 个)
Jyotsna Talluri
2020-1-16
Hi,
You can use the regress function from the statitics and Machine learning toolbox to perform multple linear regression so that obtained plot will be 3D graph with z as a function of x and y
Z=f(x,y);
Refer to the below link
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Get Started with Curve Fitting Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!