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 个)
Bjorn Gustavsson
2021-7-6
0 个投票
Read the help and documentation of normalize to find out. If that information is lacking you can "read the code, Luke"...
HTH
类别
在 帮助中心 和 File Exchange 中查找有关 Resizing and Reshaping Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!