creating a scatter plot with smooth line for small dataset

I have a small dataset like this: x = [1 2 3 4 5]; y = [0.1 0.5 0.3 0.7 0.2];
I would like to plot them with a smooth line (not a straight line) like what we can do in Excel. Which command can do this?
Thanks in advance

 Accepted Answer

More Answers (0)

Categories

Tags

Community Treasure Hunt

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

Start Hunting!