Difference between revisions of "Struct/plus.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Created page with "{{DISPLAYTITLE:struct/plus.m}} Plus operation for Matlab structures. ==Syntax== str3=plus(str1,str2) ==Description== Adds corresponding fields of two structures. Neste...")
 
(Update function See also links and function index membership)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
−
{{DISPLAYTITLE:struct/plus.m}}
+
{{DISPLAYTITLE:struct/plus.m}} __NOTOC__
−
Plus operation for Matlab structures.
+
Adds corresponding fields of two structures. Nested structures are processed recursively.
  
 
==Syntax==
 
==Syntax==
Line 6: Line 6:
 
     str3=plus(str1,str2)
 
     str3=plus(str1,str2)
  
−
==Description==
+
==Parameters==
−
Adds corresponding fields of two structures. Nested structures are processed recursively.
 
−
 
 
−
==Arguments==
 
  
 
     str1, str2 - input structures, must have the same topology
 
     str1, str2 - input structures, must have the same topology
Line 18: Line 15:
  
 
==See also==
 
==See also==
−
[[cell/plus.m]], [[ttclass/plus.m]], [[polyadic/plus.m]]
+
[[cell/plus.m]], [[ttclass/plus.m]], [[polyadic/plus.m]], [[struct/mtimes.m]], [[Appendix_H:_Matlab_object_overloads]]
−
 
 
  
−
''Version 2.1, authors: [[Ilya Kuprov]], [[Luke Edwards]]''
+
''Version 2.9, authors: [[Ilya Kuprov]], [[Luke Edwards]]''

Latest revision as of 19:42, 6 June 2026

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, struct/mtimes.m, Appendix_H:_Matlab_object_overloads

Version 2.9, authors: Ilya Kuprov, Luke Edwards