matlab高通滤波器出错

设计了一个3dB,截止频率4bpm的高通滤波器
报错:出错 gaotong (line 23)
b = firpm(N, Fo, Ao, W, {dens});

版本是2017b

function Hd = gaotong
%GAOTONG Returns a discrete-time filter object.

% MATLAB Code
% Generated by MATLAB(R) 9.3 and Signal Processing Toolbox 7.5.
% Generated on: 09-Feb-2023 13:12:43

% Equiripple FIR Lowpass filter designed using the FIRPM function.

% All frequency values are in Hz.
Fs = 10;  % Sampling Frequency

Fpass = 3;            % Passband Frequency
Fstop = 0.6;           % Stopband Frequency
Dpass = 0.057501127785;  % Passband Ripple
Dstop = 0.0001;          % Stopband Attenuation
dens  = 16;              % Density Factor

% Calculate the order from the parameters using FIRPMORD.
[N, Fo, Ao, W] = firpmord([Fpass, Fstop]/(Fs/2), [1 0], [Dpass, Dstop]);

% Calculate the coefficients using the FIRPM function.
b  = firpm(N, Fo, Ao, W, {dens});
Hd = dfilt.dffir(b);

% [EOF]

你这是低通的的呀!

参数不合适 ,改成
Fstop = 5;