title: Matlab conditional assignment
body: <p>I'm looking for Matlab equivalent of c# <code>condition ? true-expression : false-expression</code> conditional assignment. The most I know of is <code>a = 5&gt;2</code>, which is true\false assignment, <br>
  but is there any one line conditional assignment for
  <code>if condition a=1;else  a=2; end</code>?</p>