cellfun
Evaluates an function on a cell.
Syntax
R = cellfun(function_name, ce)
R = cellfun(function_handle, ce)
[R1, ... , Rp] = cellfun(function_handle, ce1, ..., cep)
[R1, ... , Rp] = cellfun(function_handle, ce1, ..., cep, name, value)
Input argument
function_handle - a function handle.
ce1, ... , cep - cells with p inputs required for function_handle.
name, value pair - 'UniformOutput': true or false, 'ErrorHandler': a error function.
Output argument
R1, ... , Rp - Outputs from function
Description
cellfun applies function to each cell elements.
Examples
functions to define for next example:
See also
cell.
History
Version | Description |
---|---|
1.0.0 | initial version |
Author
Allan CORNET
Last updated