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

    %% Vector of Logarithmically Spaced Numbers
% Create a vector of 50 logarithmically spaced points in the interval |[10^1,10^5].|

% Copyright 2015 The MathWorks, Inc.


y = logspace(1,5);