sinspace

版本 1.1.0.0 (1.5 KB) 作者: Sky Sartorius
Generates a sine-spaced vector with elements clustered at one of the two endpoints
884.0 次下载
更新时间 2010/10/13

查看许可证

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.

引用格式

Sky Sartorius (2026). sinspace (https://ww2.mathworks.cn/matlabcentral/fileexchange/28358-sinspace), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2007b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Creating and Concatenating Matrices 的更多信息
版本 已发布 发行说明
1.1.0.0

Simplified algorithm; clustering factor added

1.0.0.0