MATLAB Answers

Problem with findpeaks and unique commands

조회 수: 1(최근 30일)
Rajendra Krishna Chaitanya Medini
I have this peculiar problem with findpeaks. When my graph doesn't work properly and produces a flat line as output, the findpeaks command shows same value duplicated thrice or four times in a vector. That part is understandable. Now when I use the unique command on the vector, it doesn't give the unique values but shows the duplicated values as in vector. Instead of showing a single value, it shows the vector as such.
How to overcome this problem?
Kindly let me know. Thank you.

  댓글 수: 0

로그인 to comment.


이 질문에 답변하려면 로그인을(를) 수행하십시오.

Translated by