Publisher review:Adaptive-Degree Polynomial Filter - Obtain the polynomial degree selected in the adaptive-degree polynomial filter function polynomial_degree=adpf(data_frame)Adaptive-Degree Polynomial Filter (Savitzky-Golay Filter)Commonly, the degree of the fitting polynomial for the Savitzky-Golay filter is fixed. However, the polynomial degree can vary according to the sum of squares of fitting residuals and the statistical testing to obtain the adaptive-degree polynomial filter. This function can be used to obtain the polynomial degree (output: polynomial_degree) selected in the adaptive-degree polynomial filter (Savitzky-Golay filter) for the data subset of length 2M 1 (intput: data_frame). Usage:Run Pkmi_Calculate first to obtain the numerical table of gram polynomials so as to accelerate the calculation. Examples:%Examples:adpf_demo %A demo of data smoothing with the adaptive-degree polynomial filter Fig_1 %Obtain figure 1 of Ref. [1]Fig_2 %Obtain figure 2 of Ref. [1] Requirements: ยท MATLAB Release: R14SP1
Adaptive-Degree Polynomial Filter is a Matlab script for Signal Processing scripts design by Jianwen Luo.
It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
Operating system:Windows / Linux / Mac OS / BSD / Solaris