Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

logspace

logarithmically spaced vector constructor.

Syntax

  • V = logspace(s, e)
  • V = logspace(s, e, n)

Input argument

  • s - first value: a scalar, single or double.
  • e - last value: a scalar, single or double.
  • n - Number of points: a scalar, single or double (by default 100).

Output argument

  • V - result of logspace: an logarithmically spaced vector.

Description

logspace generates an logarithmically spaced vector.

Example

V = logspace(1+2i, 10+10i, 4)

See also

linspace.

History

VersionDescription
1.0.0initial version

Author

Allan CORNET