![]() |
IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
|
in-line "IF"
This function takes three parameters. The first parameter is a condition. If the condition is true, returns the second argument, otherwise the third.
| condition | |
| out1 | |
| out2 |
Definition in file iif.m.
Go to the source code of this file.
Functions | |
| function | iif (in cond, in x1, in x2) |
| function iif | ( | in | cond, |
| in | x1, | ||
| in | x2 | ||
| ) |