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일

0 개 추천

댓글 수: 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?
Matt J
Matt J 2013년 10월 30일
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.
Jonasz
Jonasz 2013년 10월 30일
Could you explain it more ? I don't understand it. What is my input of bsfk ? I have only one column of values.
Matt J
Matt J 2013년 10월 31일
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