Equana

Function Reference

Under the HoodFeaturesTutorialsDocs
Docs/Core Functions/logspace

Packages

Core Functions
72 functions
Free
Linear Algebra
24 functions
Free
Fourier Analysis
14 functions
Free
Data Visualization
40 functions
Free
Polynomial Functions
100 functions
Free
Symbolic Mathematics
10 functions
Free
3D Visualization (VTK)
18 functions
Free
Sparse Matrices
25 functions
Free
Finite Element (MFEM)
407 functions
Free
Scientific Computing (SciPy)
74 functions
Free
Numerical Arrays (NumPy)
602 functions
Free
ODE Solvers
20 functions
Free
Symbolic Math (SymEngine)
159 functions
Free
Linear Algebra (Eigen)
247 functions
Free
Numerical Integration (QUADPACK)
25 functions
Free
Eigenvalue Solvers (ARPACK)
85 functions
Free
LAPACK/BLAS
98 functions
Free
Sparse Direct Solver (SuperLU)
123 functions
Free
Special Functions
85 functions
Free
Back to Core Functions

logspace

Generate logarithmically spaced vector

Syntax

v = logspace(a, b)
v = logspace(a, b, n)

Description

Returns a row vector of `n` logarithmically spaced points between 10^a and 10^b. Default is 50 points.

Parameters

NameDescription
aExponent of start value (10^a)
bExponent of end value (10^b)
n(optional)Number of points (default: 50)

Returns

1×n NDArray

Examples

Try It
>> logspace(0, 2, 5)
1  3.1623  10  31.623  100
Try It
>> logspace(-2, 0, 3)
0.01  0.1  1

See Also

linspacezerosones