HI , I WANT TO USE "IF" AND ELSE CONDITIONS IN MATLAB USERDEFINED FUNCTION ?PLZ HELP ME
Mostrar comentarios más antiguos
TELL ME A GOOD BOOK PLZ
Respuestas (2)
Wayne King
el 7 de Abr. de 2012
Have you just read the MATLAB getting started guide, or the help for if? I think you don't need a book on that alone.
x = 3;
if (x<3)
disp('Do this');
elseif (x>3)
disp('Do this');
else
disp('x is equal to 3.');
end
Categorías
Más información sobre National Instruments Frame Grabbers 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!