linspace

linearly spaced vector constructor.

📝 Syntax

  • V = linspace(s, e)

  • V = linspace(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 linspace: an linearly spaced vector.

📄 Description

linspace generates an linearly spaced vector.

💡 Example

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

🔗 See also

logspace.

🕔 History

Version
📄 Description

1.0.0

initial version

Last updated

Was this helpful?