How can I plot interpolation line besides nodes?

2 Ansichten (letzte 30 Tage)
Ayob
Ayob am 15 Jun. 2013
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.

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Interpolation finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by