% suppose we have 2 signal x and y
x= [1 0 0 2 0 2 0 0];
y= [1 1 0 0 0 2 0 0];
% then we transform the signals
Fx = fftn(x);
Fy = fftn(y);
% we get the real and image part form transformed
FxI= imag(Fx);
FxR= real(Fy);
FyI = imag(Fy);
FyR = real(Fy);
% the question is, where can we get the value of each component?