let small numbers in Matrix be zero
显示 更早的评论
Hello, I would like a function that:
example A=[100,16; 5,10]
I would like to make a function f with a threshold=15 such that f(A)=[100,16;0,0]
i.e. all the number below threshold become zero
Any idea? Thank you!
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Image Thresholding 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!