How to plot a cubic spline from the coefficients?

I have a custom function myspline with x and y vector as input, that returns four vectors a,b,c and d that contain the appropiate coefficticients of a cubic spline.
Now I'm supposed to plot the entire spline (in one plot) in a script. The assignment says I should make use of Horner to evaluate the spline functions.
How would I go about doing this? I'm unsure how one would use Horner to get the functions that I need.

回答 (0 件)

この質問は閉じられています。

製品

タグ

質問済み:

2019 年 11 月 14 日

閉鎖済み:

2019 年 11 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by