# : (Matlab operator)

Colon

## Matlab/Scilab equivalent

Matlab | Scilab

    :

    :

## Particular cases

Using colon with empty matrices:

  In Matlab if almost one operand is an empty matrix, then result is an empty matrix what gives an error message in Scilab.

Using colon with NaNs and Infs:

  In Matlab if almost one operand is an empty matrix, then result is a NaN what make Scilab returning an error.