Demo entry 6770465

Matlab

   

Submitted by anonymous on Nov 13, 2018 at 15:11
Language: Matlab. Code size: 210 Bytes.

function [G,H] = Book591(x,N)

fx = fliplr(x);

[X] = DFTMatrix(x,N);
[fX] = DFTMatrix(fx,N);
X_s = conj(X); 
temp = flipud(X_s);
fX_s = [X_s(1);temp(1:N-1)];

G = 1/2*(X + fX_s); H = 1/2i*(X - fX_s);

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).