cosspace

Generates cosine- or acos-spaced vector with elements clustered or sparse at the endpoints

이 제출물을 팔로우합니다

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 (2026). cosspace (https://kr.mathworks.com/matlabcentral/fileexchange/28337-cosspace), MATLAB Central File Exchange. 검색 날짜: .

카테고리

Help CenterMATLAB Answers에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

일반 정보

MATLAB 릴리스 호환 정보

  • 모든 릴리스와 호환

플랫폼 호환성

  • Windows
  • macOS
  • Linux
버전 퍼블리시됨 릴리스 정보 Action
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