imat_fn/times


Purpose

Termwise multiply ordinates (f1.*f2).

Syntax

f1.*f2
f.*x

Description

The following termwise multiplication operations are possible with imat_fn objects:

Examples

>> f=imat_fn(3,'ordinate',reshape(1:15,5,3))

f =
3x1 IMAT Function with the following attributes:
Record Name          FunctionType     AbscissaSpacing  NumberElements
-------------------- ---------------- ---------------- ----------------
1_(1X+,1X+)          Time Response    Even             5
2_(1X+,1X+)          Time Response    Even             5
3_(1X+,1X+)          Time Response    Even             5

>> f.ordinate

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

>> g=f.*f; g.ordinate

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

>> g=g.*g(1); g.ordinate

ans =
           1          36         121
          16         196         576
          81         576        1521
         256        1296        3136
         625        2500        5625

>>

See Also

imat_fn/plus, imat_fn/minus, imat_fn/ldivide, imat_fn/rdivide