Skip to main content

linspaced

Overloads

NameDescription
linspaced(integer low, integer high) -> RealMatrixSets all elements of the RealMatrix lhs to linearly spaced values.
linspaced(integer low, integer high) -> ComplexMatrixSets all elements of the ComplexMatrix lhs to linearly spaced values.
linspaced(real low, real high) -> ComplexMatrixSets all elements of the ComplexMatrix lhs to linearly spaced values.
linspaced(real low, real high) -> RealMatrixSets all elements of the RealMatrix lhs to linearly spaced values.
linspaced(bool low, bool high) -> ComplexMatrixSets all elements of the ComplexMatrix lhs to linearly spaced values.
linspaced(bool low, bool high) -> RealMatrixSets all elements of the RealMatrix lhs to linearly spaced values.
linspaced(complex low, complex high) -> ComplexMatrixSets all elements of the ComplexMatrix lhs to linearly spaced values.

linspaced(integer low, integer high) -> RealMatrix

Sets all elements of the RealMatrix lhs to linearly spaced values.

Parameters

  • low: The first value in the sequence.
  • high: The last value in the sequence.

linspaced(integer low, integer high) -> ComplexMatrix

Sets all elements of the ComplexMatrix lhs to linearly spaced values.

Parameters

  • low: The first value in the sequence.
  • high: The last value in the sequence.

linspaced(real low, real high) -> ComplexMatrix

Sets all elements of the ComplexMatrix lhs to linearly spaced values.

Parameters

  • low: The first value in the sequence.
  • high: The last value in the sequence.

linspaced(real low, real high) -> RealMatrix

Sets all elements of the RealMatrix lhs to linearly spaced values.

Parameters

  • low: The first value in the sequence.
  • high: The last value in the sequence.

linspaced(bool low, bool high) -> ComplexMatrix

Sets all elements of the ComplexMatrix lhs to linearly spaced values.

Parameters

  • low: The first value in the sequence.
  • high: The last value in the sequence.

linspaced(bool low, bool high) -> RealMatrix

Sets all elements of the RealMatrix lhs to linearly spaced values.

Parameters

  • low: The first value in the sequence.
  • high: The last value in the sequence.

linspaced(complex low, complex high) -> ComplexMatrix

Sets all elements of the ComplexMatrix lhs to linearly spaced values.

Parameters

  • low: The first value in the sequence.
  • high: The last value in the sequence.