SAVFILT

버전 1.0.0.0 (1.67 KB) 작성자: Vassili Pastushenko
Generalization and improvement of SGOLAYFILT(Dat,1,Frame).
다운로드 수: 3.4K
업데이트 날짜: 2004/7/27

라이선스 없음

Program: SAVFILT

Simply AVeraging FILTer for vectors or matrices (works on columns of matrices)

Description: generalized and improved version of SGOLAYFILT(Dat,1,W)

In practice SGOLAYFILT is most frequently used with ORDer 1, because at given filtering frame W the ORDer 1 gives the highest smoothening of the Data. Advantages of SAVFILT(Dat,W) in comparison to SGOLAYFILT(Dat,1,W):

1. Better results at the rands of the Data: instead of arbitrary padding the Data with zeros, a possibly wide frame is used at the rands.
2. SAVFILT accepts arbitrary frames W>1, not only odd ones, as SGOLAYFILT does. The results of filtering white noise with any W>1 leads to almost by the factor of sqrt(W) smaller standard deviation of the filtered data in comparison to raw data. This feature is especially helpful in the case of filtering periodical data with an arbitrary period.
3. With odd W SAVFILT works more than 2 times faster than SGOLAYFILT, and about at the same speed in the case of nonodd W (can be made equally fast and with exact efficiency sqrt(W)). The Efficiency of any low-pass filter is defined as: E=std(Dat)/std(DatF), Dat being white gaussian noise and DatF is filtered Dat Call:
DatF=savfilt(Dat,W,E)

Input:
Dat = Data to be filtered, a matrix N*M, any([N,M]>1)
E= filter efficiency, abs(E)>1
W= abs(E)^2
% W or E are used interchangeably. If nargin>2, W-value will be replaced by W=abs(E^2)

Output:
DatF = Filtered Data

V.Pastushenko, 22-nd July 1993, J.Kepler Univ. of Linz, Austria

인용 양식

Vassili Pastushenko (2024). SAVFILT (https://www.mathworks.com/matlabcentral/fileexchange/5536-savfilt), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R12.1
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Digital Filter Analysis에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0