Combining a plot obtained from 'plot' command an the one that I have got using curve fitting app

I have plotted a few spectrums by exporting it from Microsoft Excel using 'xlsread' and then plotting it using 'plot' function on matlab. I have got another plot using curve fitting app. Is there a way to combine both of them into one single plot? If yes, can someone tell me the method to do or specify some code. Version: MATLAB R2015a

3 个评论

The fitting app should give you the fitted coefficeints. Use them to plot the curve together with your data.
I did get the fitted coefficients. But how can i combine both of them. I generated the code of the fitted graph and included in it my existing .m file. But it's showing an error. Is there any other procedure?
What is the expression that you have fitted? You have any code?

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Get Started with Curve Fitting Toolbox 的更多信息

产品

版本

R2015a

提问:

2018-7-3

编辑:

2018-7-5

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by