MATLAB Answers

How to remove particular value from matrix?

3 views (last 30 days)
Kaleesh Bala
Kaleesh Bala on 6 Aug 2019
Commented: Kaleesh 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

Show 6 older comments
Kaleesh Bala
Kaleesh Bala on 6 Aug 2019
Alright let me give a try:) My question is to remove all value s below 2.5e-4 from row 2.
Adam
Adam on 6 Aug 2019
But peaks(2,2) is not below 2.5e-4.
Kaleesh Bala
Kaleesh 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)

Sign in to answer this question.

Products