Hey guys, please i need help on how to validate a vector using a while loop
Mostrar comentarios más antiguos
%for example a vector x with values greater than 0, and length of 3
x>0;
length(x)=3;
Respuestas (1)
Elias Gule
el 1 de Nov. de 2018
isValid = all(x>0) && length(x)==3;
1 comentario
Brenda Egbe
el 1 de Nov. de 2018
Categorías
Más información sobre Symbolic Math Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!