![if statement matlab if statement matlab](https://i.ytimg.com/vi/5EYQGguaZAA/sddefault.jpg)
#If statement matlab how to
The symbols & and || are the logical short-circuit operators AND and OR.īut before we learn how to use logical operators with conditional statements, we should have a quick look at logical operators. Short-circuit logical operators permit short-circuiting on logical operations.
![if statement matlab if statement matlab](http://www.ece.northwestern.edu/local-apps/matlabhelp/toolbox/simulink/slref/if_example.gif)
![if statement matlab if statement matlab](https://www.dummies.com/wp-content/uploads/454516.image0.jpg)
![if statement matlab if statement matlab](https://www.tutorialspoint.com/matlab/images/if_statement.jpg)