How can I plot interpolation line besides nodes?

1 view (last 30 days)
I have a plot() order in my program and I want to have interpolation line on the graph besides specific nodes which are evaluated before. How can I do it?
I like to have spline interpolation.

Accepted Answer

Ayob
Ayob on 15 Jun 2013
>> t=spline(X,Y,h);
>> plot(X,Y,'*',h,t)

More Answers (0)

Categories

Find more on Interpolation in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!