This commit is contained in:
2023-11-14 17:10:27 +08:00
commit d5a822831c
423 changed files with 5909 additions and 0 deletions

View File

@ -0,0 +1,13 @@
function H=freqw(p,w)
% freqw - get frequency response of ppoly object
%
% H=freqw(p,w)
%
% p - a ppoly object
% w - frequency vector
% H - frequency response data
% Copyright (c) Dingyu Xue, Northeastern University, China
% Last modified 18 May, 2022
for i=1:length(w), H(i)=p.a(:).'*(1i*w(i)).^p.na(:); end
end