How 'normalization by standard deviation' works?

14 次查看(过去 30 天)
  • Can anyone please explain how normalization by standard deviation (ie. b = normalize(a, 'scale')) works internally?
  • Is it b = (a - mean(a)) ./ std(a) ?
  • Is n or (n-1) used in calculations? (n is the data size)
Thanks

回答(1 个)

Bjorn Gustavsson
Bjorn Gustavsson 2021-7-6
Read the help and documentation of normalize to find out. If that information is lacking you can "read the code, Luke"...
HTH
  1 个评论
Tanju Sirmen
Tanju Sirmen 2021-7-6
Already read the doc yet couldnt get the complete answer i need.
I will read also the code as u suggested and try to understand.
Thx anyway

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Resizing and Reshaping Matrices 的更多信息

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by