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!