Appendix H: Matlab object overloads

From Spinach Documentation Wiki
Jump to: navigation, search

Spinach kernel adds a few operations to built-in Matlab objects. This section contains the list of those operations.


struct/plus.m - field-wise addition.

struct/mtimes.m - field-wise multiplication by a matrix.

Cell arrays

cell/plus.m - element-wise addition.

cell/minus.m - element-wise subtraction.

cell/mtimes.m - element-wise multiplication by a matrix.

cell/totsum.m - a sum across all dimensions of a cell array.

cell/inflate.m - inflates every polyadic in a cell array.


double/inflate.m - polyadic inflation, skips when it sees a double

Version 2.4, authors: Ilya Kuprov