curve fitting my plot
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
random1072
am 22 Mär. 2020
Kommentiert: Image Analyst
am 22 Mär. 2020
trying to make my curve smooth instead of at a point. any insight will help. thank you
0 Kommentare
Akzeptierte Antwort
Ameer Hamza
am 22 Mär. 2020
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 Kommentar
Image Analyst
am 22 Mär. 2020
Try smoothdata() or conv():
signal = conv(signal, ones(1, 30)/30, 'same');
This will blur it out and smooth it.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Curve Fitting Toolbox finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!