필터 지우기
필터 지우기

Info

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

What is curve fitting and how to do it?

조회 수: 3 (최근 30일)
Vinit
Vinit 2014년 7월 31일
마감: MATLAB Answer Bot 2021년 8월 20일
I want to do curve fitting for the graph i have .... i am very new to matlab. So were should i start from.... i would be great if you could break it into parts so that i can understand it better.
Thank you.

답변 (1개)

Ahmet Cecen
Ahmet Cecen 2014년 7월 31일
I will keep it concise so as not to go into an off-matlab area. Curve fitting (commonly associated with regression) usually comes into play when you need to estimate a vector of values y as a function of a vector or multiple vectors of values x. The simplest way to get started is to use the cftool command. Feed your vector x as 1 parameter and your vector y as another, then experiment with the various curves that are available built in to the tool. If you have more x vectors than 2, then you need a more elaborate scheme. I would suggest looking into the regress function if you have the toolbox. Also check matlab file exchange for various implementations of curve fitting an regression, including one from your's truly for somewhat elaborate polynomial fits.

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by