isvect

バージョン 1.0.0.0 (1.76 KB) 作成者: Matt Fig
ISVECT(A,GUESS) Returns logical true if A is a vector of type guess.
ダウンロード: 2.3K
更新 2008/6/18

ライセンスの表示

ISVECT(A,GUESS)
A is an array. The alternative input, GUESS, is either:
1 or 'r' or 'row' (row vector) or
2 or 'c' or 'col' or 'column' (column vector).

Examples:
isvect(A) % Returns true
isvect(A,1) % Returns true
isvect(A,'r') % Returns true
isvect(A,2) % Returns false
[tf TYPE] = isvect(A) % Returns tf=1, TYPE=1 (row vector)
If A is a scalar, isvect(A) returns true for either guess and type=1.
See help.
Created for version 6.5, as isvector doesn't exist for R13.
Please email me with bugs or suggestions. Thanks

引用

Matt Fig (2024). isvect (https://www.mathworks.com/matlabcentral/fileexchange/9902-isvect), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R13SP1
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersSearch Path についてさらに検索

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0

M-Lint