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

Answers (1)

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

1 Comment

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.

Categories

Products

Release

R2021a

Asked:

on 6 Jul 2021

Commented:

on 6 Jul 2021

Community Treasure Hunt

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

Start Hunting!