How to Write all of an if-statement in a Single Lline?
Is there any way to write all of an if-statement in a single line?
if A == 1 B = 2 elseif B = 3 endIs there any way to write all of an if-statement in a single line?
if A == 1 B = 2 elseif B = 3 end Is there any way to write all of an if-statement in a single line?
if A == 1 B = 2 elseif B = 3 end if-statements MATLAB Answers — New Questions