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?

采纳的回答

Image Analyst
Image Analyst 2016-3-15
Try this
signal200 = reshape(ecgSignal, [], 300);
  4 个评论
touitou habadi
touitou habadi 2018-3-19
how can i do signal segmentation by time,for example each segment contain 500 s.
Image Analyst
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 个)

Ashish Sheikh
Ashish Sheikh 2016-3-15
Is n a factor of 200 ?

类别

Help CenterFile Exchange 中查找有关 ECG / EKG 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by