How 'normalization by standard deviation' works?

  • 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 个)

Read the help and documentation of normalize to find out. If that information is lacking you can "read the code, Luke"...
HTH

1 个评论

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

请先登录,再进行评论。

类别

帮助中心File 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