Smoothing a 2d matrix
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello,
I have a 2d matrix. I need to smooth this matrix by filtering small gradient and keep the highest gradient?
Thanks,
0 commentaires
Réponses (1)
Sibi
le 17 Déc 2020
x=randi(10,2,3);
c = smooth(x(:));
y= reshape(c,height(x),width(x))
0 commentaires
Voir également
Catégories
En savoir plus sur Smoothing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!