MATLAB using an else if command code example
Example: matlab else if
if expression
statements
elseif expression
statements
else
statements
end
if expression
statements
elseif expression
statements
else
statements
end