How should I tell if the analyzed signal is real or complex?

Status
Not open for further replies.

giorgi3092

Junior Member level 2
Joined
Jul 31, 2021
Messages
22
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
252
One of the test questions had these problems:




So, I need to tell whether the signal real or complex from its DFT magnitude and phase spectra.
DFT formula is:


How should I even think about this problem? I did some experiments in Matlab and got even more confused. Any hints?
 

Attachments

  • 1641733152838.png
    57.5 KB · Views: 202

Solution
Thanks for the reply.

I'll answer my own question:
The function f is real-valued iff the FT of f is Hermitian (conjugate symmetric).
f is Hermitian iff:
a) real part of f is even.
b) imaginary part of f is odd.

Summary: for a function f to be real:
a) The amplitude spectrum must have even symmetry.
b) The phase spectrum must have odd symmetry.

source: https://en.wikipedia.org/wiki/Hermitian_function

Answers to the problem:
1) real
2) real
3) complex

Try this, change the vector test as you like: (look how amplitude/phase show symmetry/antisymmetry)

xr=4*cos(2*pi*(0:19)*0);
xi=4*sin(2*pi*(0:19)*0);

%noise
nr = randn(1,20);
ni = randn(1,20);

test = complex(xr,xi) + complex(nr,ni);
stem(abs(fft(test)));
stem(angle(fft(test)));
 
Thanks for the reply.

I'll answer my own question:
The function f is real-valued iff the FT of f is Hermitian (conjugate symmetric).
f is Hermitian iff:
a) real part of f is even.
b) imaginary part of f is odd.

Summary: for a function f to be real:
a) The amplitude spectrum must have even symmetry.
b) The phase spectrum must have odd symmetry.

source: https://en.wikipedia.org/wiki/Hermitian_function

Answers to the problem:
1) real
2) real
3) complex
 

Solution
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…