help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: std


From: Mike Miller
Subject: Re: std
Date: Fri, 17 May 2019 18:01:01 -0700
User-agent: Mutt/1.10.1 (2018-07-13)

On Fri, May 17, 2019 at 17:11:21 -0500, turbofib via Help-octave wrote:
> hi,
> sorry but i don't understand..
> 
> look this example:
> 
> 1     
> 2     
> 3     
> 4     
> 8     2,701851217 (stdev 5 last element)
> 6     2,408318916 (stdev 5 last element)
> 7     2,073644135 (stdev 5 last element)
> 8     1,673320053 (stdev 5 last element)
> 9     1,140175425 (stdev 5 last element)
> 10    1,58113883 (stdev 5 last element)
> 
> this is result using excel..
> 
> (is not zero as octave give me :)

You are looking for the moving standard deviation, calculated over a
sliding window.

    >> lookfor "standard deviation"
    movstd              Calculate the moving standard deviation over a s...
    statistics          Return a vector with the minimum, first quartile...
    std                 Compute the standard deviation of the elements o...
    >> movstd (x, 5)
    >> movstd (x, [4, 0])

-- 
mike

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]