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 Exchange에서 Interpolation에 대해 자세히 알아보기

질문:

2013년 6월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by