Difference between revisions of "Struct/plus.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(→‎See also)
Line 1: Line 1:
−
{{DISPLAYTITLE:struct/plus.m}}
+
{{DISPLAYTITLE:struct/plus.m}} __NOTOC__
 
Plus operation for Matlab structures.
 
Plus operation for Matlab structures.
  
Line 23: Line 23:
  
  
−
''Version 2.1, authors: [[Ilya Kuprov]], [[Luke Edwards]]''
+
''Version 2.9, authors: [[Ilya Kuprov]], [[Luke Edwards]]''

Revision as of 16:32, 6 May 2024

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

Matlab object overloads


Version 2.9, authors: Ilya Kuprov, Luke Edwards