So, I could easily do this using multiple if statements but that seems fairly repetitive. Is there an and or operator in MATLAB so that I could say: if a <= 0 and or b <= 0 and or c <= 0 error… end
And, then do a similar thing with the equality. Sorry for the fairly simple questions, first week or so using MATLAB.
Best Answer