Problem with findpeaks and unique commands

2 ビュー (過去 30 日間)
Rajendra Krishna Chaitanya Medini
Rajendra Krishna Chaitanya Medini 2020 年 2 月 25 日
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 件)

カテゴリ

Help Center および File ExchangeDescriptive Statistics についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by