Change the phase difference between in-phase and quad-phase of a coherent receiver: 180 out of phase is obtained instead of 90 degrees.
1 view (last 30 days)
Show older comments
Hi everyone,
I am trying to model a coherent-on-receive receiver to compare its performances to an Hilbert transform. The problem is that the phase difference between in-phase and quad-phase is of 180° instead of 90° and I don't know how to change it. ![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/247085/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/247085/image.png)
My code is the following:
fs = 1e4;
t = 0:1/fs:1;
x=cos(2*pi*t);
yh = hilbert(x);
receiver = phased.ReceiverPreamp('Gain',4,'NoiseFigure',60,'SampleRate',fs,'PhaseNoiseInputPort',true,'NoiseComplexity', 'Complex');
yr = receiver(x,1);
subplot(2,1,1)
plot(t,real(yh),t,imag(yh))
xlim([0 1])
legend('real','imaginary')
title('Hilbert transform')
subplot(2,1,2)
plot(t,real(yr),t,imag(yr))
xlim([0 1])
xlabel('Time (s)')
legend('real','imaginary')
title('Coherent Receiver')
Thanks to anyone that could help!
Clémentine
0 Comments
Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!