www.gusucode.com > signal 工具箱matlab源码程序 > signal/@dspdata/@psd/thiscomputeresp4freqrange.m
function [H,W] = thiscomputeresp4freqrange(this,H,W,isdensity) %THISCOMPUTERESP4FREQRANGE Compute the PSD over the frequency range % requested by the user. % Author(s): P. Pacheco % Copyright 1988-2003 The MathWorks, Inc. % Catch the case when user requested to view the data in PS form, i.e, PSD % w/out dividing by Fs. This is only a feature of the plotted PSD. if ~isdensity, if this.NormalizedFrequency, Fs = 2*pi; else Fs = this.getfs; end H = H*Fs; % Don't divide by Fs, essentially create a "PS". end % [EOF]