This keyword is used with if and while statements to indicate the end of a block of commands to execute when the condition is met.

if (sqrt(3) >= 2)

disp('Square root of 3 is greater than or equal to 2.');

else

disp('Square root of 3 is less than 2.');

end

else, elseif, if, for, and while.

What is Calq?

Latest version of Calq

Digital Wave Systems Lab homepage