struct/plus.m

From Spinach Documentation Wiki
Jump to: navigation, search

Plus operation for Matlab structures.

Syntax

    str3=plus(str1,str2)

Description

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

Arguments

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

Outputs

    str3       - output structure

See also

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


Version 2.1, authors: Ilya Kuprov, Luke Edwards