struct/plus.m

From Spinach Documentation Wiki
Revision as of 18:52, 5 June 2026 by Kuprov (talk | contribs) (Rename Arguments section heading to Parameters)
Jump to: navigation, search

Adds corresponding fields of two structures. Nested structures are processed recursively.

Syntax

    str3=plus(str1,str2)

Parameters

    str1, str2 - input structures, must have the same topology

Outputs

    str3       - output structure

See also

cell/plus.m, ttclass/plus.m, polyadic/plus.m

Matlab object overloads

Version 2.9, authors: Ilya Kuprov, Luke Edwards