How to fit a smooth curve inside an edge while plotting a 2D figure
1 view (last 30 days)
Show older comments
Answers (1)
Image Analyst
on 3 Jan 2017
You can smooth the y values:
ySmoothed = conv(y, ones(1, 51), 'same');
Change the 51 depending on whether you want more or less smoothing, but keep it an odd integer.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!