Detecting and saving the values of a single pulse signal form the continuous incoming pulses signals
古いコメントを表示
Hello, I am getting data of pulse signals into matlab through serial port.I want to detect and distinguish each pulse pulse signal and want to save the data(all the samples of amplitude that can reconstruct the signal for the later use) of the pulse signals.
As all pulse signals don't have the same number of samples it is impractical to assume that a particular 'x' samples(values) makes a pulse signal.So, I need a method that can detect/distinguish each pulse signal depending on some parameters and save each pulse signal data.
The incoming pulse signals looks like the below

回答 (2 件)
Image Analyst
2013 年 12 月 29 日
0 投票
Use findpeaks() in the Signal Processing Toolbox, or this http://www.mathworks.com/matlabcentral/fileexchange/25500-peakfinder
1 件のコメント
Gova ReDDy
2014 年 1 月 5 日
編集済み: Gova ReDDy
2014 年 1 月 5 日
Gova ReDDy
2014 年 1 月 9 日
編集済み: Gova ReDDy
2014 年 1 月 9 日
0 投票
7 件のコメント
Image Analyst
2014 年 1 月 10 日
What exactly are you looking for? What does "distinguish" mean to you? What kind of variables containing what kind of numerical values are you looking for?
Gova ReDDy
2014 年 1 月 10 日
Image Analyst
2014 年 1 月 10 日
That didn't really answer the question. I was looking for something like "I want to find the starting and ending index of each hump" or "I want to find the index of the middle of the flat part between the humps." So just threshold
binarySignal = signal > 0;
Then use diff() to find the [0, 1] or [1, 0] transition indexes.
Gova ReDDy
2014 年 1 月 10 日
編集済み: Gova ReDDy
2014 年 1 月 10 日
Gova ReDDy
2014 年 1 月 10 日
編集済み: Gova ReDDy
2014 年 1 月 10 日
Image Analyst
2014 年 1 月 10 日
I thought I did.
Gova ReDDy
2014 年 1 月 10 日
編集済み: Gova ReDDy
2014 年 1 月 10 日
カテゴリ
ヘルプ センター および File Exchange で Pulse and Transition Metrics についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!




