cosspace

버전 1.2.0.0 (1.5 KB) 작성자: Sky Sartorius
Generates cosine- or acos-spaced vector with elements clustered or sparse at the endpoints
다운로드 수: 947
업데이트 날짜: 2010/10/12

라이선스 보기

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

Using the same syntax as LINSPACE, COSSPACE makes a cosine spaced vector, clustering the elements toward the endpoints with greater spacing in the middle:
||_|__|___|____|_____|_____|____|___|__|_||

Given negative vector length, COSSPACE returns an inverse cosine spaced vector with elements sparse toward the endpoints:
|_____|____|___|__|_|_|_|_|_|__|___|____|_____|

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

인용 양식

Sky Sartorius (2024). cosspace (https://www.mathworks.com/matlabcentral/fileexchange/28337-cosspace), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2007b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.2.0.0

improved algorithm; added optional weighting for less intense clustering

1.1.0.0

added inverse cosing spacing

1.0.0.0