Decade (Log Scale) Vector Generation with Matlab Implementation

Decade (log scale) vector generation of the type [1 2 3 4 5 ... 10 20 30 40 50 ... ]
243 Downloads
Updated 19 Apr 2015

View License

The present code is a Matlab function that provides a generation of decade (log-space) vector. The vector start value is of type (10^m), the end value – (10^n), and the step size in every one decade is for example 0.1 (i.e. step = 0.1*first term of every decade).
Example decade vectors:
[1 2 3 4 5 6 7 8 9 10 20 30 40 50 60 70 80 90 100 200 …]
[100 110 120 130 140 … 1000 1100 1200 1300 1400 …]

Two examples are given in order to clarify the usage of the function. The input and output arguments are given in the beginning of the code.

Cite As

Hristo Zhivomirov (2024). Decade (Log Scale) Vector Generation with Matlab Implementation (https://www.mathworks.com/matlabcentral/fileexchange/50558-decade-log-scale-vector-generation-with-matlab-implementation), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Fourier Analysis and Filtering in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0