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!