You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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.
Cite As
Sky Sartorius (2026). sinspace (https://in.mathworks.com/matlabcentral/fileexchange/28358-sinspace), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: cosspace
Inspired: LINSPACE3: linearly spaced vector defined by three points, CORE: Conceptual Optimization of Rotorcraft Environment
General Information
- Version 1.1.0.0 (1.47 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
