Smoothing a 2d matrix
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello,
I have a 2d matrix. I need to smooth this matrix by filtering small gradient and keep the highest gradient?
Thanks,
0 comentarios
Respuestas (1)
Sibi
el 17 de Dic. de 2020
x=randi(10,2,3);
c = smooth(x(:));
y= reshape(c,height(x),width(x))
0 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!