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.
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.