Add shape coefficients (s1+s2).
s1+s2
s+x
x+s
The following addition 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+s; t.shape
ans =
2 14 26
4 16 28
6 18 30
8 20 32
10 22 34
12 24 36
>> t=t+t(1); t.shape
ans =
4 16 28
8 20 32
12 24 36
16 28 40
20 32 44
24 36 48
>> t=t+1; t.shape
ans =
5 17 29
9 21 33
13 25 37
17 29 41
21 33 45
25 37 49
>>