Effacer les filtres
Effacer les filtres

how to get zero mean normalized input

9 vues (au cours des 30 derniers jours)
ahmad ramadan
ahmad ramadan le 18 Oct 2018
how to get zero mean normalized input for for example saw tooth sequence
  1 commentaire
madhan ravi
madhan ravi le 18 Oct 2018
totally vague provide your code

Connectez-vous pour commenter.

Réponses (2)

Dimitris Kalogiros
Dimitris Kalogiros le 18 Oct 2018
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 le 18 Oct 2018
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(:));

Catégories

En savoir plus sur Time Series dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by