X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 23 Mar 2006 02:50 AM by  anon
matlab to IDL
 0 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
23 Mar 2006 02:50 AM
    I need to write in IDL the matlab function FILTFILT without success how can i do it? FILT FILT Description (from matlab help) y = filtfilt(b,a,x) performs zero-phase digital filtering by processing the input data in both the forward and reverse directions (see problem 5.39 in [1]). After filtering in the forward direction, it reverses the filtered sequence and runs it back through the filter. The resulting sequence has precisely zero-phase distortion and double the filter order. filtfilt minimizes start-up and ending transients by matching initial conditions, and works for both real and complex inputs. Note that filtfilt should not be used with differentiator and Hilbert FIR filters, since the operation of these filters depends heavily on their phase response. Algorithm filtfilt is an M-file that uses the filter function. In addition to the forward-reverse filtering, it attempts to minimize startup transients by adjusting initial conditions to match the DC component of the signal and by prepending several filter lengths of a flipped, reflected copy of the input signal.
    You are not authorized to post a reply.