isvect

版本 1.0.0.0 (1.8 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 (2026). isvect (https://ww2.mathworks.cn/matlabcentral/fileexchange/9902-isvect), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R13SP1
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Search Path 的更多信息
版本 已发布 发行说明
1.0.0.0

M-Lint