curve fitting my plot
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
random1072
le 22 Mar 2020
Commenté : Image Analyst
le 22 Mar 2020
trying to make my curve smooth instead of at a point. any insight will help. thank you
0 commentaires
Réponse acceptée
Ameer Hamza
le 22 Mar 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 commentaire
Image Analyst
le 22 Mar 2020
Try smoothdata() or conv():
signal = conv(signal, ones(1, 30)/30, 'same');
This will blur it out and smooth it.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Curve Fitting Toolbox dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!