Question: How do i use "if" for matrix function?

Hi, I have M as a 9x9 matrix. I would like to write that if any values in it is smaller than (1e-4) and not equal to zero, then show 0. If not, just reveal its original value. Please help. Thanks.

Please Wait...