csxfun

Version 1.0.0.0 (482 Bytes) by Dan Cohn
bsxfun for cell arrays
835 Downloads
Updated 31 Mar 2008

No License

Apply element-by-element binary operation to two cell arrays with singleton expansion enabled (very similiar to MATLAB builtin bsxfun). Additionally, csxfun can be called with the optional parameters 'UniformOutput' and/or 'ErrorHandler' (see cellfun documentation).

Examples:

A = csxfun(@plus,{1,2,3},{3,2,1})
A =
4 4 4

B = csxfun(@plus,{1,2,3},{3,2,1},'UniformOutput',false)
B =
[4] [4] [4]

Cite As

Dan Cohn (2024). csxfun (https://www.mathworks.com/matlabcentral/fileexchange/19371-csxfun), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Data Type Identification in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0

Improved function help and code readability