Advertisement
Guest User

Untitled

a guest
Sep 1st, 2015
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. rows = 32; %number of output samples from compression matrix
  2. cols = 2048; %number of input samples supplied to compression matrix
  3. matrixA = randn(rows, cols) + 1i*randn(rows, cols);
  4. matrixB = randn(rows, cols)+ 1i*randn(rows, cols);
  5.  
  6. %compute all possible cross-correlations
  7. xc = abs(matrixA * matrixB');
  8. %find the maximum
  9. result = max(max(abs(matrixA * matrixB')));
  10. %todo: scale by sqrt(n)
  11. %...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement