How to fit a smooth curve inside an edge while plotting a 2D figure
3 ビュー (過去 30 日間)
古いコメントを表示
回答 (1 件)
Image Analyst
2017 年 1 月 3 日
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.
参考
カテゴリ
Help Center および File Exchange で Smoothing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!