csxfun

版本 1.0.0.0 (482 字节) 作者: Dan Cohn
bsxfun for cell arrays
835.0 次下载
更新时间 2008/3/31

无许可证

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]

引用格式

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

MATLAB 版本兼容性
创建方式 R2008a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Data Type Identification 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0

Improved function help and code readability