Smoothing a 2d matrix
이전 댓글 표시
Hello,
I have a 2d matrix. I need to smooth this matrix by filtering small gradient and keep the highest gradient?
Thanks,
답변 (1개)
Sibi
2020년 12월 17일
x=randi(10,2,3);
c = smooth(x(:));
y= reshape(c,height(x),width(x))
카테고리
도움말 센터 및 File Exchange에서 Smoothing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!