LINSPACEM

버전 1.0.0.0 (669 Bytes) 작성자: Mukhtar Ullah
Compact/fast version of LINSPACEN(by Duane Hanselman).
다운로드 수: 2.1K
업데이트 날짜: 2005/2/11

라이선스 없음

LINSPACEM Linearly Spaced Array.
LINSPACEM(X1,X2,N) where X1 and X2 are scalars generates a
row vector of N equally spaced points between X1 and X2.

If X1 and X2 are row vectors of the same size, LINSPACEN(X1,X2,N)
creates a matrix having N rows where the i-th column of the result
contains N equally spaced points between X1(i) and X2(i).

If X1 and X2 are column vectors of the same size, LINSPACEN(X1,X2,N)
creates a matrix having N columns where the i-th row of the result
contains N equally spaced points between X1(i) and X2(i).
For N<2 or X1=X2 LINSPACEM returns X2.

If N is not provided, N=100 is used.

See also: LINSPACE, LOGSPACE, LOGSPACEM

This submission was inspired by the function linspacen by Duane Hanselman.

인용 양식

Mukhtar Ullah (2024). LINSPACEM (https://www.mathworks.com/matlabcentral/fileexchange/5835-linspacem), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R14
모든 릴리스와 호환
플랫폼 호환성
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.0.0.0

improved documentation