[Scilab-users] Vectorization
Stefan Du Rietz
sdr at durietz.se
Tue Feb 12 18:47:06 CET 2013
On 2013-02-12 18:34, Stefan Du Rietz wrote:
--------------------
> On 2013-02-12 17:50, Serge Steer wrote:
> --------------------
>> Are you sure of your variance definition? For me if v is a vector the
>> variance of v is computed by sqrt(sum( (v-mean(v))^2))
>
> That is standard deviation -- the variance is without sqrt.
>
> variance(v)
>
> /Stefan
I was too quick ;-(
-->stdev(v) == sqrt(variance(v))
ans =
T
but your formula was wrong ...
/Stefan
More information about the users
mailing list