Hello,
I have a 2d matrix. I need to smooth this matrix by filtering small gradient and keep the highest gradient?
Thanks,

답변 (1개)

Sibi
Sibi 2020년 12월 17일

0 개 추천

x=randi(10,2,3);
c = smooth(x(:));
y= reshape(c,height(x),width(x))

카테고리

도움말 센터File Exchange에서 Smoothing에 대해 자세히 알아보기

질문:

2020년 11월 11일

답변:

2020년 12월 17일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by