deal
Distribute inputs to outputs.
Syntax
[R1, ... , Rn] = deal(A1, ... , An)
[R1, ... , Rn] = deal(A)
Input argument
A1, ... , An - variables
Output argument
R1, ... , Rn - variables
Description
deal replicates the input parameters to the corresponding output parameters.
If a singular input parameter is provided, its value will be duplicated across all outputs.
Examples
See also
History
Author
Allan CORNET
Last updated