COSSPACE will generate a vector of N points distributed via cosine spacing at equal angular increments.
This method of spacing concentrates more points at the beginning and end of the vector while having fewer in the middle.
Compare to LINSPACE and LOGSPACE in MATLAB.
Cole Stephens (2021). cosspace (https://www.mathworks.com/matlabcentral/fileexchange/5491-cosspace), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!