2%> Return a set of maximum ``sizemax`` unique integer spacings almost
3%> linearly spaced in the natural logarithmic scale between the
4%> specified ``start`` and ``stop`` of the output range.
6%> \param[in] start : The input scalar MATLAB whole-number (integer)
7%> representing the starting point of the output range.
8%> \param[in] stop : The input scalar MATLAB whole-number (integer)
9%> representing the stopping point of the output range.
10%> \param[in] sizemax : The input scalar MATLAB whole-number (integer)
11%> representing the maximum size of the output range.<br>
12%> Due to rounding operation involved in creating the
13%> output range, it is impossible to prespecify the
14%> output range size, only the maximum.<br>
15%> (**optional**,
default = ``100``)
18%> ``array`` : The output vector of MATLAB real values containing
19%> the set of naturally logarithmically-spaced integer
20%> values in the specified input range.
25%> array = pm.array.logrange(start, stop)
26%> array = pm.array.logrange(start, stop, [])
27%> array = pm.array.logrange(start, stop, sizemax)
32%> \include{lineno} example/array/
logrange/main.m
34%> \include{lineno} example/array/
logrange/main.out.m
39%> \JoshuaOsborne, May 21 2024, 4:29 PM, University of Texas at Arlington<br>
40%> \FatemehBagheri, May 20 2024, 1:25 PM, NASA Goddard Space Flight Center (GSFC), Washington, D.C.<br>
41%> \AmirShahmoradi, May 16 2016, 9:03 AM, Oden Institute
for Computational Engineering and Sciences (ICES), UT Austin<br>
51 logskip = (logub - loglb) / sizemax;
52 array = unique(round(pm.array.logspace(loglb, logub, logskip)));
function logrange(in start, in stop, in sizemax)
Return a set of maximum sizemax unique integer spacings almost linearly spaced in the natural logarit...