필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

i hav done a curve fitting on a data,now i want to get the data points along the newly fitted curve,how?

조회 수: 1 (최근 30일)
curve fitting gives a satisfied plot, now i want to get that fitted data

답변 (1개)

Star Strider
Star Strider 2014년 3월 3일
The answer depends on what you used to fit the curve. There are several ways to do it in MATLAB.
If you used polyfit, see the documentation on polyval.
If you fitted your own function, use the fitted parameters and call your function with a vector spanning the range of the independent variable you did the fit on. It is easiest to define this vector with linspace (if you want a linearly-spaced vector).
If you used the Statistics or Optimization Toolboxes, see the documentation. For instance the Statistics Toolbox has the predict function.

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by