How can I plot interpolation line besides nodes?

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.

 採用された回答

Ayob
Ayob 2013 年 6 月 15 日

0 投票

>> t=spline(X,Y,h);
>> plot(X,Y,'*',h,t)

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeInterpolation についてさらに検索

質問済み:

2013 年 6 月 15 日

Community Treasure Hunt

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

Start Hunting!

Translated by