Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Apr 16th, 2023
141
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.20 KB
| None
|
0
0
raw
download
clone
embed
print
report
M = 100;
N = 101;
x = reshape(1:M*N, [M, N]);
h = reshape(1:M*N, [M, N]) + 1j;
out = zeros(N, 1);
h = ifftshift(conj(h), 2);
for i=1:N
out(i) = sum(x.*circshift(h, i - 1, 2), 'all');
end
Add Comment
Please,
Sign In
to add comment
Public Pastes
Christmas Gift
14 min ago | 0.84 KB
December smells like money (Release)
CSS | 14 min ago | 0.82 KB
Untitled
1 hour ago | 7.33 KB
Portent: Something major about today, Dec 11....
5 hours ago | 0.66 KB
Portent: Something major about today, Dec 11....
5 hours ago | 0.66 KB
Untitled
5 hours ago | 6.45 KB
Untitled
9 hours ago | 11.91 KB
Untitled
11 hours ago | 12.54 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!