Difference between revisions of "Struct/mtimes.m"
(Normalise sequential blank lines) |
|||
| Line 20: | Line 20: | ||
[[Appendix_H:_Matlab_object_overloads|Matlab object overloads]] | [[Appendix_H:_Matlab_object_overloads|Matlab object overloads]] | ||
| − | |||
''Version 2.9, authors: [[Ilya Kuprov]], [[Luke Edwards]]'' | ''Version 2.9, authors: [[Ilya Kuprov]], [[Luke Edwards]]'' | ||
Revision as of 12:30, 25 April 2026
Multiplies all entries of a structure by a user-specified matrix. Nested structures are processed recursively.
Syntax
str_out=mtimes(M,str_in)
Arguments
M - any numeric object (scalar, matrix, etc.)
str_in - a structure with numeric subfields
Outputs
str_out - the resulting structure
See also
ttclass/mtimes.m, polyadic/mtimes.m
Version 2.9, authors: Ilya Kuprov, Luke Edwards