How to fit a curve to my data?

1 次查看(过去 30 天)
ljp64
ljp64 2018-8-6
Hi there, I am plotting a pressure profile, shown in the attached graph. However, I want the lines to curve nicely rather than change sharply at each sensor number. How do I do this?
Thank you, I appreciate your help!

回答(1 个)

Star Strider
Star Strider 2018-8-7
Consider using the spline (link) function.

类别

Help CenterFile Exchange 中查找有关 Get Started with Curve Fitting Toolbox 的更多信息

产品


版本

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by