i want to ask that how many samples or pulses are required by an iir and fir filter according to their order in other words how many samples a filter will take as an input data to process at a time
The order of a FIR filter is the degree of its transfer function polynomial, i.e., the number of zeros.
An N-order FIR filter uses N+1 input samples (the last one and the N previous).
The order of a IIR filter is the degree of the denominator polynomial, i.e., the number of poles, provided it has no more zeros than poles.
An N-order IIR filter uses the N previous output samples (and one or more input samples) for obtaining the output sample.