이 제출물을 팔로우합니다
- 팔로우하는 게시물 피드에서 업데이트를 확인할 수 있습니다
- 정보 수신 기본 설정에 따라 이메일을 받을 수 있습니다
Occasionally I see a request for computation of a running, windowed standard deviation. This is easily accomplished using filter and the alternative formula for the standard deviation:
std = sqrt((sum(x.^2) - n*xbar.^2)/(n-1)).
movingstd allows you to specify forward, backward or central windows of any desired length. It patches the ends, shortening the window as necessary.
movingstd2 is now included, allowing a moving window standard deviation on 2-dimensional arrays. (I suppose I could easily enough implement movingstdn if that becomes of interest.)
인용 양식
John D'Errico (2026). movingstd & movingstd2 (https://kr.mathworks.com/matlabcentral/fileexchange/9428-movingstd-movingstd2), MATLAB Central File Exchange. 검색 날짜: .
도움
도움 준 파일: slidefun
| 버전 | 퍼블리시됨 | 릴리스 정보 | Action |
|---|---|---|---|
| 1.4.0.0 | movingstd2 included |
||
| 1.3.0.0 | strncmpi instead of strmatch for tests
|
||
| 1.2.0.0 | Fix the case of complex std results due to floating point arithmetic. |
||
| 1.1.0.0 | Documentation change to explicitly state the behavior at the end of the series. |
