www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/VectorofLogarithmicallySpacedFrequenciesExample.m

    %% Vector of Logarithmically Spaced Frequencies
% In digital signal processing, the range of frequencies is often bounded 
% by $$\pi$. You can specify the upper bound as $$\pi$ using |logspace.|
% 
% Create a vector of 10 logarithmically spaced frequencies in the interval  
% |[10^0,pi].|

% Copyright 2015 The MathWorks, Inc.


y = logspace(0,pi,10)