scientific computation platform.
A peek into a recent message on the Octave mailing list.
Paul Kienzle
to Red, help-octave
show details
7:50 pm (1½ hours ago)
On May 28, 2007, at 7:16 PM, Red Crow wrote:
> Hello:
>
> Anybody knows how normalize a distribution, to make mean=0
> and sd=0.
Easy --- replace every value with 0. 8-)
I suspect you want mean=0, sd=1. The function to
do that is zscore(), which subtracts the mean from every
data point and divides by the standard deviation.
- Paul
Do we have fun? You betcha.
-Muthu
No comments:
Post a Comment