MATLAB Answers

How 'normalization by standard deviation' works?

6 views (last 30 days)
Tanju Sirmen
Tanju Sirmen on 6 Jul 2021
Commented: Tanju Sirmen on 6 Jul 2021
  • 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

Answers (1)

Bjorn Gustavsson
Bjorn Gustavsson on 6 Jul 2021
Read the help and documentation of normalize to find out. If that information is lacking you can "read the code, Luke"...
HTH
  1 Comment
Tanju Sirmen
Tanju Sirmen on 6 Jul 2021
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

Sign in to comment.

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by