I am doing fmcw radar simulation. I have an output of mixer and from that I want to reconstruct the amplitude and phase of the signal. Therefore, I am taking hilbert transform and by the abs()
and angle()
, I can get the phase and amplitude information. Since the hilbert transform is in time domain, I want to map this time domain axis into frequency domain so I can see the value of amplitude and phase at different frequencies. FFT is not an option since by taking the fft, I will get the beat frequency.Therefore, how to map this time domain axis to frequency domain.
here are some of the relations between time and frequency. t = f/K
, where
K = Bw / Tm
f = frequency,
Bw = bandwidth,
Tm = transmit time
I guess here, deltaf = 1/ t(2)-t(1)
and fmax = 1/deltat
, I am trying to map the time axis into frequency, but it gives dimension mismatch. Still there is something missing( some multiplyting factor or diving).Acoordig to my SV, its a demultiplexing process. That woud be really good if anyone can help me.
mixed1=(y.*(Y2));
hil = hilbert(y_filt);
figure, plot(t,abs(hil));
figure, plot(t,angle(hil));
deltaf = 1/t(2) - t(1);
fmax = 1/delta t;
f =? %%% how to define frequency axis so i can plot amplitude & phase
figure, plot(f,abs(hil));
figure, plot(f,angle(hil));