Logspace
Generate logarithmically spaced vector
Syntax
linspace(a, b) |
a and b are real scalars |
Return a row 50-elements vector in which the elements are logarithmically distributed between 10^a and 10^b. |
linspace(a, b, n) |
a and b are real scalars n is a positive integer |
Return a row n-elements vector in which the elements are logarithmically distributed between 10^a and 10^b. |
Examples
Input |
Output |
logspace(0, PI) |
|
logspace(-2, 3, 6) |
See Also
Created with the Personal Edition of HelpNDoc: Free help authoring tool