フィルターのクリア

Extracting specific portions of acceleromeetr signal

1 回表示 (過去 30 日間)
MA-Winlab
MA-Winlab 2019 年 2 月 11 日
コメント済み: KSSV 2019 年 2 月 13 日
Dear collouges
I have an acceleration signal with period of wiggling (resulted from motion) and periods of silent. I would like to extrcat the data points that show the motion and save them in a matrix or vector. Attached is a .mat file with data of the x-axis from my accelerometer.
I appreciate if you help me with this
Thank you

採用された回答

KSSV
KSSV 2019 年 2 月 12 日
load('accx.mat') ;
tol = 0.1 ; % can be varied
idx = abs(accx)>tol ;
plot(accx(idx))
  2 件のコメント
MA-Winlab
MA-Winlab 2019 年 2 月 12 日
Thank you, I also used this approach to identify the portions.Now I want to extrcat the data points of each portion and put it in a colomn of a matrix. i.e., I would lieke to create a matrix that has the data points of each identified portion as colomn. For example if I have 10 splikes (portions), then I want to store them (as data points) in 10 colomns in a matrix.
Your help is appreciated
KSSV
KSSV 2019 年 2 月 13 日
iwant = accx(idx)

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeWaveform Generation についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by