imat_fn/rdivide


Purpose

Termwise divide ordinates (f1./f2).

Syntax

f1./f2
f./x
x./f

Description

The following termwise division 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+1; g.ordinate

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

>> h=g./f; h.ordinate

ans =
    2.0000    1.1667    1.0909
    1.5000    1.1429    1.0833
    1.3333    1.1250    1.0769
    1.2500    1.1111    1.0714
    1.2000    1.1000    1.0667

>>

See Also

imat_fn/mtimes, imat_fn/ldivide