Skip to content

Instantly share code, notes, and snippets.

@drizzd
Last active December 30, 2015 01:09
Show Gist options
  • Save drizzd/7754428 to your computer and use it in GitHub Desktop.
Save drizzd/7754428 to your computer and use it in GitHub Desktop.
rssi.m
n = 10;
antA = randn(1, n);
antB = randn(1, n);
for i = 1:n
rssi = rssi + antA(i)^2;
rssi = rssi + antB(i)^2;
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment