isvect

Versión 1.0.0.0 (1,76 KB) por Matt Fig
ISVECT(A,GUESS) Returns logical true if A is a vector of type guess.
2,3K descargas
Actualizado 18 jun 2008

Ver licencia

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

Citar como

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

Compatibilidad con la versión de MATLAB
Se creó con R13SP1
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Search Path en Help Center y MATLAB Answers.

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.0

M-Lint