Problem with findpeaks and unique commands
3 views (last 30 days)
Show older comments
Hi,
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 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!