how can I Find the mean of waves on a signal ?

2 ビュー (過去 30 日間)
amirhossein shahriari
amirhossein shahriari 2018 年 5 月 19 日
編集済み: Ameer Hamza 2018 年 5 月 19 日
it's more like how to get the average plot from multiple plots (multiple waves )

回答 (1 件)

Ameer Hamza
Ameer Hamza 2018 年 5 月 19 日
編集済み: Ameer Hamza 2018 年 5 月 19 日
You can use mean(). For example
signal1 = [1 x n vector]
signal2 = [1 x n vector]
signal3 = [1 x n vector]
first combine then in a matrix
signals = [signal1; signal2; signal3]
and then use mean() to get the average signal
avgSignal = mean(signals)
Note that all signals need to be of the same length. If they have different then first use iterp1 to make their number of elements equal.

カテゴリ

Help Center および File ExchangeECG / EKG についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by