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.SOSFilter 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);
sosFilter = design(d,'ellip',SystemObject=true)
sosFilter =
dsp.SOSFilter with properties:
Structure: 'Direct form II'
CoefficientSource: 'Property'
Numerator: [3×3 double]
Denominator: [3×3 double]
HasScaleValues: true
ScaleValues: [0.6252 0.5432 0.4861 1]
Show all properties
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.
The dsp.BiquadFilter object issues a warning and will be removed in a
future release. Use the dsp.SOSFilter object
instead. For more information on how to replace your existing code, see the
Compatibility Considerations section in the dsp.BiquadFilter reference page.
Starting in R2024b, this function supports the dsp.DCBlocker object.
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Sélectionner un site web
Choisissez un site web pour accéder au contenu traduit dans votre langue (lorsqu'il est disponible) et voir les événements et les offres locales. D’après votre position, nous vous recommandons de sélectionner la région suivante : .
Vous pouvez également sélectionner un site web dans la liste suivante :
Comment optimiser les performances du site
Pour optimiser les performances du site, sélectionnez la région Chine (en chinois ou en anglais). Les sites de MathWorks pour les autres pays ne sont pas optimisés pour les visites provenant de votre région.