flag = isreal(sysobj)
determines if the filter coefficients are real. If the filter coefficients are real,
isreal returns a logical 1. If the filter
coefficients are complex, isreal returns a logical
0. Complex filters have one or more coefficients with nonzero imaginary
parts.
Create a dsp.BiquadFilter System object™. Pass a fixed-point input to the object. Test the coefficients of the fixed-point filter to see if they are strictly real.
d = fdesign.lowpass('n,fp,ap,ast',5,0.4,0.5,20);
biquadFilter = design(d,'ellip','SystemObject',true);
IsRealBefore = isreal(biquadFilter)
flag — Flag to determine whether filter coefficients are real 1 | 0
Flag to determine whether the filter coefficients are real, returned as a logical
scalar. If the filter coefficients are real, isreal returns a
logical 1, else it returns a logical 0.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.