%% Highpass Filter in Zero-Pole-Gain Form
% Compute the zero-pole-gain form of the highpass filter using the zpk function.
% Design a minimum order highpass FIR filter with a passband frequency of 75 kHz and passband ripple of 0.2 dB. Specify a sample rate of 200 kHz.

hFilt = dsp.HighpassFilter('PassbandFrequency',75e3,'PassbandRipple',0.2,'SampleRate',200e3)

% Find the zeros, poles, and the gain of the designed filter using the zpk function.

[z,p,k] = zpk(hFilt)

% Copyright 2018 The MathWorks, Inc.