How to calculate peak voltages of a waveform.?

6 ビュー (過去 30 日間)
Joana
Joana 2020 年 4 月 19 日
編集済み: Ameer Hamza 2020 年 4 月 19 日
I have an EEG potential waveform, which has multiple peaks (Positive and negative). I'm using the findpeaks function to find the peak's .But it doesn't calculate the peak's voltage / y-axis value. It calculates the x-axis value.
Any idea how i can do that.?
This is how i am calculating the peaks:
[~,locs_P1P3] = findpeaks(EEGEpochMean,'MinPeakHeight',0.5, 'MinPeakDistance',100);
[~,locs_N] = findpeaks(EEGEpochMeanInv,'MinPeakHeight',0.5, 'MinPeakDistance',100);

採用された回答

Ameer Hamza
Ameer Hamza 2020 年 4 月 19 日
編集済み: Ameer Hamza 2020 年 4 月 19 日
First output argument gives the peak value, you have masked it with '~'
[peak_values,locs_P1P3] = findpeaks(EEGEpochMean,'MinPeakHeight',0.5, 'MinPeakDistance',100);

その他の回答 (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