Segmentation of a signal
6 ビュー (過去 30 日間)
古いコメントを表示
I have row vector of ECG signal have 1 x n order. I want to make 200 segments of that row vector and each segment should contain 300 samples.
For example: First sample should contain values of row vector from 1 to 300, second sample should contain values of row vector 301 to 300 and so on.
How should I start?
0 件のコメント
採用された回答
Image Analyst
2016 年 3 月 15 日
Try this
signal200 = reshape(ecgSignal, [], 300);
4 件のコメント
touitou habadi
2018 年 3 月 19 日
how can i do signal segmentation by time,for example each segment contain 500 s.
Image Analyst
2018 年 3 月 19 日
You'd need a cell array because each segment might not have the same number of samples. You can use etime() to find out elapsed times.
その他の回答 (1 件)
参考
カテゴリ
Help Center および File Exchange で ECG / EKG についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!