![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/278711/image.png)
curve fitting my plot
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
random1072
el 22 de Mzo. de 2020
Comentada: Image Analyst
el 22 de Mzo. de 2020
trying to make my curve smooth instead of at a point. any insight will help. thank you
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/278694/image.png)
0 comentarios
Respuesta aceptada
Ameer Hamza
el 22 de Mzo. de 2020
You are making graph of
. It is expected to be pointy. You can make graph of some other function like
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/278711/image.png)
f = @(x,k) exp(-k*x.^2);
which will have smooth peak.
1 comentario
Image Analyst
el 22 de Mzo. de 2020
Try smoothdata() or conv():
signal = conv(signal, ones(1, 30)/30, 'same');
This will blur it out and smooth it.
Más respuestas (0)
Ver también
Categorías
Más información sobre Interpolation en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!