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 Center および MATLAB AnswersCreating 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