the shape of or structure is not familiar for me

1 view (last 30 days)
There is this command I do not know if it is equal to a normal or command :
if or(routine==3,routine==4)
and also , is routine an external parameter ? cause I did not see that introduce before hand , in the code i am reading , I was wondering that it might be an in built variable ?

Accepted Answer

Image Analyst
Image Analyst on 10 Oct 2014
Why make it complicated? Just simply do
if routine==3 || routine==4

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!