フィルターのクリア

how to get zero mean normalized input

5 ビュー (過去 30 日間)
ahmad ramadan
ahmad ramadan 2018 年 10 月 18 日
回答済み: Star Strider 2018 年 10 月 18 日
how to get zero mean normalized input for for example saw tooth sequence
  1 件のコメント
madhan ravi
madhan ravi 2018 年 10 月 18 日
totally vague provide your code

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

回答 (2 件)

Dimitris Kalogiros
Dimitris Kalogiros 2018 年 10 月 18 日
If you already have produced an input signal xin, before using it, you must remove its dc component:
xin=xin-mean(xin)
best regards

Star Strider
Star Strider 2018 年 10 月 18 日
Much depends on what you intend by ‘normalize’.
If you have R2018a or later, use the normalize (link) function. This produces a z-score of your data, the equivalent of (for a vector ‘x’):
zscr = @(x) (x(:) - mean(x(:))) / std(x(:));

カテゴリ

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

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by