sinspace

Generates a sine-spaced vector with elements clustered at one of the two endpoints

Sie verfolgen jetzt diese Einreichung

Utility function operates with no loops, so is of comparable speed to LINSPACE.

Using the same syntax as LINSPACE, SINSPACE makes a sine-spaced vector, clustering the elements toward the endpoint:
|_____|_____|____|___|__|_||

Given negative vector length, SINSPACE clusters points toward the beginning rather than the end of the vector.

An optional input in addition to the endpoints and the number of elements lets you choose the intensity of the clustering.

Zitieren als

Sky Sartorius (2026). sinspace (https://de.mathworks.com/matlabcentral/fileexchange/28358-sinspace), MATLAB Central File Exchange. Abgerufen .

Allgemeine Informationen

Kompatibilität der MATLAB-Version

  • Kompatibel mit allen Versionen

Plattform-Kompatibilität

  • Windows
  • macOS
  • Linux
Version Veröffentlicht Versionshinweise Action
1.1.0.0

Simplified algorithm; clustering factor added

1.0.0.0