how to get zero mean normalized input
11 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
how to get zero mean normalized input for for example saw tooth sequence
1 comentario
Respuestas (2)
Dimitris Kalogiros
el 18 de Oct. de 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
0 comentarios
Star Strider
el 18 de Oct. de 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(:));
0 comentarios
Ver también
Categorías
Más información sobre Logical en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!