How to remove particular value from matrix?

2 views (last 30 days)
Ramesh Bala
Ramesh Bala on 6 Aug 2019
Commented: Ramesh Bala on 6 Aug 2019
I have 2*104 matrices ,I'm interested to remove all values below a particular value say 2.5E-4 from row 2?
  9 Comments
Adam
Adam on 6 Aug 2019
But peaks(2,2) is not below 2.5e-4.
Ramesh Bala
Ramesh Bala on 6 Aug 2019
yeah you are right :)
I tried like this with a tol and it worked well.
I will try to us it for findpeaks function later on to eliminate poor maximas.
Thanks again.

Sign in to comment.

Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!