imat_shp/times


Purpose

Termwise multiply shape coefficients (s1.*s2).

Syntax

s1.*s2
s.*x

Description

The following termwise multiplication operations are possible with imat_shp objects:

Examples

>> s=imat_shp(3,'shape',reshape(1:18,6,3))

s =
3x1 IMAT Shape with the following attributes:
Row Frequency           Damping             NumberNodes
--- ------------------- ------------------- -------------------
1   1                   0.01                2
2   1                   0.01                2
3   1                   0.01                2

>> s.shape

ans =
     1     7    13
     2     8    14
     3     9    15
     4    10    16
     5    11    17
     6    12    18

>> t=s.*s; t.shape

ans =
     1    49   169
     4    64   196
     9    81   225
    16   100   256
    25   121   289
    36   144   324

>> t=t.*t(1); t.shape

ans =
           1          49         169
          16         256         784
          81         729        2025
         256        1600        4096
         625        3025        7225
        1296        5184       11664

>>

See Also

imat_shp/plus, imat_shp/minus, imat_shp/ldivide, imat_shp/rdivide