help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Inline-If ?


From: Stefan Neumann
Subject: Inline-If ?
Date: Fri, 14 May 2010 15:19:45 +0200



Hi,

is there something like an "inline-if" or "immediate if" in octave?

in C there is this: RES = (a==1)?1:0
in some other languages there are functions like if(expr-test , expr_true , expr_false)

THX
Stefan

reply via email to

[Prev in Thread] Current Thread [Next in Thread]