Use designfilt to design a sixth-order highpass IIR filter. Specify a normalized passband frequency of rad/sample. Convert it to a single-precision filter. Identify the precision in each case.
Digital filter, specified as a digitalFilter object. Use designfilt to generate d.
If you want a single-precision filter, apply single to
the output of designfilt.
Example: d = designfilt('lowpassiir','FilterOrder',3,'HalfPowerFrequency',0.5) specifies
a third-order Butterworth filter with normalized
3-dB frequency 0.5π rad/sample.