isvect

Version 1.0.0.0 (1,76 KB) von Matt Fig
ISVECT(A,GUESS) Returns logical true if A is a vector of type guess.
2,3K Downloads
Aktualisiert 18. Jun 2008

Lizenz anzeigen

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

Zitieren als

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

Kompatibilität der MATLAB-Version
Erstellt mit R13SP1
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Search Path finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0

M-Lint