sinspace

Generates a sine-spaced vector with elements clustered at one of the two endpoints
880 download
Aggiornato 13 ott 2010

Visualizza la licenza

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.

Cita come

Sky Sartorius (2025). sinspace (https://it.mathworks.com/matlabcentral/fileexchange/28358-sinspace), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2007b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Creating and Concatenating Matrices in Help Center e MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versione Pubblicato Note della release
1.1.0.0

Simplified algorithm; clustering factor added

1.0.0.0