How to fit a curve to my data?

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!

Answers (1)

Star Strider
Star Strider on 7 Aug 2018
Consider using the spline (link) function.

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Products

Release

R2017a

Asked:

on 6 Aug 2018

Answered:

on 7 Aug 2018

Community Treasure Hunt

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

Start Hunting!