I am trying to subtract a value of 25 from the cells of a matrix.
Example:
2 3 6 9 12
-3 4 7 -2 -6
3 10 4 8 14
After subtracting 25 from the cells of the above matrix, it should be:
-23 -22 -19 -16 -13
-28 -21 -18 -27 -31
-22 -15 -21 -17 -11
How would I do this in awk95. Any help is always appreciated.
Example:
2 3 6 9 12
-3 4 7 -2 -6
3 10 4 8 14
After subtracting 25 from the cells of the above matrix, it should be:
-23 -22 -19 -16 -13
-28 -21 -18 -27 -31
-22 -15 -21 -17 -11
How would I do this in awk95. Any help is always appreciated.