How can I reverse a coded message using a transformation matrix?

  • Thread starter Thread starter gtfitzpatrick
  • Start date Start date
gtfitzpatrick
Messages
372
Reaction score
0

Homework Statement



in coding a msg, a black space was represented by 0, an A by 1,a B by 2 etc...The msg was transformed using the matrix

-1 -1 2 0
1 1 -1 0
0 0 -1 1
1 0 0 -1

and sent out as -19,19,25,-21,0,18,-18,15,3,10,-8,3,-2,20,-7,12

so what I've tried is...

so to reverse the transform i think i get the inverse of the transform matrix and multiply by the outputed answer

for the inverse i got

1 1 1 1
0 1 -1 -1
1 1 0 0
1 1 1 0

and multiplied it by
-19 19 25 -21
0 18 -18 15
3 10 -8 3
-2 20 -7 12

and got

-18 67 -8 9
-1 -12 -3 0
-19 37 7 -6
-16 47 -1 -3

which i was just going to convert back into letters to get the msg,but what letter is 67 or 37...Confussed...
 
Last edited:
Physics news on Phys.org
You aren't supposed to multiply the inverse by the matrix of all of the integers in the message, you are supposed to multiply it by each of the column vectors [-19,19,25,-21]^T, [0,18,-18,15]^T etc. You could also transpose your data matrix.
 
thats dick, i'd just figured it out, i was just putting the coded msg in the wrong way round---the msg reads - do your homework-very good
 
Prove $$\int\limits_0^{\sqrt2/4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx = \frac{\pi^2}{8}.$$ Let $$I = \int\limits_0^{\sqrt 2 / 4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx. \tag{1}$$ The representation integral of ##\arcsin## is $$\arcsin u = \int\limits_{0}^{1} \frac{\mathrm dt}{\sqrt{1-t^2}}, \qquad 0 \leqslant u \leqslant 1.$$ Plugging identity above into ##(1)## with ##u...
Back
Top