imat_shp/ldivide


Purpose

Termwise divide shape coefficients (s1.\s2).

Syntax

s1.\s2
s.\x
x.\s

Description

The following termwise multiplication operations are possible with imat_shp objects

A termwise left division operation in MATLAB is the same as a right division with the operands switched.

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 =
    0.5000    0.8750    0.9286
    0.6667    0.8889    0.9333
    0.7500    0.9000    0.9375
    0.8000    0.9091    0.9412
    0.8333    0.9167    0.9444
    0.8571    0.9231    0.9474

>>

See Also

imat_shp/mtimes, imat_shp/rdivide