필터 지우기
필터 지우기

curve fitting my plot

조회 수: 2 (최근 30일)
random1072
random1072 2020년 3월 22일
댓글: Image Analyst 2020년 3월 22일
trying to make my curve smooth instead of at a point. any insight will help. thank you

채택된 답변

Ameer Hamza
Ameer Hamza 2020년 3월 22일
You are making graph of . It is expected to be pointy. You can make graph of some other function like
f = @(x,k) exp(-k*x.^2);
which will have smooth peak.
  댓글 수: 1
Image Analyst
Image Analyst 2020년 3월 22일
Try smoothdata() or conv():
signal = conv(signal, ones(1, 30)/30, 'same');
This will blur it out and smooth it.

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

추가 답변 (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