Usedesignfiltto design a sixth-order highpass IIR filter. Specify a normalized passband frequency ofrad/sample. Convert it to a single-precision filter. Identify the precision in each case.
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.