 . It is expected to be pointy. You can make graph of some other function like
. It is expected to be pointy. You can make graph of some other function likecurve fitting my plot
    3 views (last 30 days)
  
       Show older comments
    
trying to make my curve smooth instead of at a point. any insight will help. thank you 

0 Comments
Accepted Answer
  Ameer Hamza
      
      
 on 22 Mar 2020
        You are making graph of  . It is expected to be pointy. You can make graph of some other function like
. It is expected to be pointy. You can make graph of some other function like
 . It is expected to be pointy. You can make graph of some other function like
. It is expected to be pointy. You can make graph of some other function likef = @(x,k) exp(-k*x.^2);
which will have smooth peak.
1 Comment
  Image Analyst
      
      
 on 22 Mar 2020
				Try smoothdata() or conv():
signal = conv(signal, ones(1, 30)/30, 'same');
This will blur it out and smooth it.
More Answers (0)
See Also
Categories
				Find more on Smoothing in Help Center and File Exchange
			
	Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

