trying to make my curve smooth instead of at a point. any insight will help. thank you

 採用された回答

Ameer Hamza
Ameer Hamza 2020 年 3 月 22 日

0 投票

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 件)

カテゴリ

ヘルプ センター および File ExchangeSmoothing についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by