Subtract shape coefficients (s1-s2).
s1-s2
s-x
x-s
The following subtraction operations are possible with imat_shp objects:
>> 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-3; t.shape
ans =
-2 4 10
-1 5 11
0 6 12
1 7 13
2 8 14
3 9 15
>> t=t-t(1); t.shape
ans =
0 6 12
0 6 12
0 6 12
0 6 12
0 6 12
0 6 12
>> t=t-[-1 0 3]; t.shape
ans =
-1 6 15
-1 6 15
-1 6 15
-1 6 15
-1 6 15
-1 6 15
>>