Linear piecewise interpolation problem

Hello. I would like to make a interpolation to my data that I obtain from qqplot in MATLAB . I would like to have eg. three interpolation best fitted lines. Here is my data in represented by qqplot. Any ideas how to simply do this?

回答(1 个)

Matt J
Matt J 2013-10-30

4 个评论

Jonasz
Jonasz 2013-10-30
编辑:Matt J 2013-10-30
I need something else. I need to put a lines into this plot so it will show me three different lines like this
But how to code this?
Once BSFK gives you the pp-form just evaluate it at 2 points between each of the knots. Then you can use polyfit() to fit a line to each pair of points and plot.
Could you explain it more ? I don't understand it. What is my input of bsfk ? I have only one column of values.
The documentation for bsfk should explain everything.

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Interpolation 的更多信息

产品

提问:

2013-10-30

评论:

2013-10-31

Community Treasure Hunt

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

Start Hunting!

Translated by