Hey guys, please i need help on how to validate a vector using a while loop
Ältere Kommentare anzeigen
%for example a vector x with values greater than 0, and length of 3
x>0;
length(x)=3;
Antworten (1)
Elias Gule
am 1 Nov. 2018
isValid = all(x>0) && length(x)==3;
1 Kommentar
Brenda Egbe
am 1 Nov. 2018
Kategorien
Mehr zu Symbolic Math Toolbox finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!