IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
iif.m File Reference

Detailed Description

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.

Parameters
condition
out1
out2
Returns
out

Definition in file iif.m.

Go to the source code of this file.

Functions

function iif (in cond, in x1, in x2)
 

Function Documentation

function iif ( in  cond,
in  x1,
in  x2 
)