How to create a rectangular pulse train of amplitude '1' with user-defined time period?
2 ビュー (過去 30 日間)
古いコメントを表示
Hai, I am actually working on the processing of Electrocardiogram (ECG) signal. I need to detect the R-peaks from the processed signal by multiplying by a rectangular pulse train. How can I create the train with some definite time period?
0 件のコメント
採用された回答
Bjorn Gustavsson
2022 年 7 月 5 日
You should be able to do that with the square function, check its help and documentation. You might need to add 1 and divide by to and use some duty-cycle-parameter and phase-shift to get what you really want, but start with square.
HTH
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Applications についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!