Difference between revisions of "Struct/mtimes.m"
(Created page with "{{DISPLAYTITLE:struct/mtimes.m}} Multiplies all entries of a structure by a user-specified matrix. ==Syntax== str_out=mtimes(M,str_in) ==Description== Nested structure...") |
(Update function See also links and function index membership) |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | {{DISPLAYTITLE:struct/mtimes.m}} | + | {{DISPLAYTITLE:struct/mtimes.m}} __NOTOC__ |
| − | Multiplies all entries of a structure by a user-specified matrix. | + | Multiplies all entries of a structure by a user-specified matrix. Nested structures are processed recursively. |
==Syntax== | ==Syntax== | ||
| Line 6: | Line 6: | ||
str_out=mtimes(M,str_in) | str_out=mtimes(M,str_in) | ||
| − | == | + | ==Parameters== |
| − | |||
| − | |||
| − | |||
M - any numeric object (scalar, matrix, etc.) | M - any numeric object (scalar, matrix, etc.) | ||
| Line 20: | Line 17: | ||
==See also== | ==See also== | ||
| − | [[ttclass/mtimes.m]], [[polyadic/mtimes.m]] | + | [[ttclass/mtimes.m]], [[polyadic/mtimes.m]], [[struct/plus.m]], [[Appendix_H:_Matlab_object_overloads]] |
| − | |||
| − | ''Version 2. | + | ''Version 2.9, authors: [[Ilya Kuprov]], [[Luke Edwards]]'' |
Latest revision as of 19:42, 6 June 2026
Multiplies all entries of a structure by a user-specified matrix. Nested structures are processed recursively.
Syntax
str_out=mtimes(M,str_in)
Parameters
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, struct/plus.m, Appendix_H:_Matlab_object_overloads
Version 2.9, authors: Ilya Kuprov, Luke Edwards