Center and scale a fit

조회 수: 31 (최근 30일)
Angela
Angela 2018년 5월 30일
댓글: Angela 2018년 5월 31일
I want to use the 'fit' command to model a dataset with a two term Gaussian model. I found an example about how to center and scale polyfit: [p,S,mu] = polyfit(x,y,n) but i have not been able to find an example how to center and scale the 'fit' command and then use the feval command to see the fit y values. Does anyone know how to do it?

채택된 답변

dpb
dpb 2018년 5월 31일
There's a 'Normalize','off'|'on' Name-Value Pair Argument in the fitOptions Link fitOptions
  댓글 수: 1
Angela
Angela 2018년 5월 31일
Thank you!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Interpolation에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by