imat_shp/rdivide


Purpose

Termwise divide shape coefficients (s1./s2).

Syntax

s1./s2
s./x
x./s

Description

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

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

>> u=t./s;   u.shape

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

>>

See Also

imat_shp/mtimes, imat_shp/ldivide