MATLAB: The if statement with and/or

if statement

Is this right?
If a and b and c and d <= 100 {statement} end

Best Answer

if a<100&b<100&c<100&d<100
%do
end
%or
if all([a b c d]<100)