Subtract ordinates (f1-f2).
f1+f2
f-x
x-f
The following subtraction operations are possible with imat_fn objects:
>> f=imat_fn(3,'ordinate',reshape(1:15,5,3))
f =
3x1 IMAT Function with the following
attributes:
Record Name FunctionType OrdNumDataType NumberElements
-------------------- ---------------- ---------------- ----------------
1_(1X+,1X+) Time Response Unknown 5
2_(1X+,1X+) Time Response Unknown 5
3_(1X+,1X+) Time Response Unknown 5
>> f.ordinate
ans =
1 6 11
2 7 12
3 8 13
4 9 14
5 10 15
>> g=f-3; g.ordinate
ans =
-2
3 8
-1 4 9
0 5 10
1 6 11
2 7 12
>> g=g-[-1 0 3]; g.ordinate
ans =
-1 3 5
0 4 6
1 5 7
2 6 8
3 7 9
>>