How to generate inphase and quadrature phase of a signal?
97 次查看(过去 30 天)
显示 更早的评论
I was trying to simply create I Q components of a signal and to recover the signal from these I Q data.
But how to create I Q? is it possible by multiplying signal with sin and cos? or by taking samples at 4 points (0,90,180,270)??
1 个评论
mechetoune walid
2020-11-11
Google it and check this link.
https://www.markimicrowave.com/blog/top-7-ways-to-create-a-quadrature-90-phase-shift/
回答(3 个)
Colin
2014-6-10
You might look into Hilbert transforms - Matlab function Hilbert.
From a real signal, this generates a complex signal of which the real part is the original signal, and the imaginary part is the Hilbert transform. This is essentially the original signal phase-shifted by 90 degrees
0 个评论
Rick Rosson
2012-12-6
编辑:Rick Rosson
2012-12-6
z = x + j*y;
v = x.*cos(2*pi*Fc*t) - y.*sin(2*pi*Fc*t);
I = real(z);
Q = imag(z);
3 个评论
Rick Rosson
2012-12-7
编辑:Rick Rosson
2012-12-7
If you have a pure sin function, then that means by definition that I = 0 and Q = -1. If that seems confusing to you, then please review the details of in-phase and quadrature.
This forum is for questions about MATLAB, not to help understand math and engineering concepts.
Marcos Fernandez
2017-12-16
Hi Akhil,
your suggestion is correct, try to multiply the signal by sin and cos.
Hope this helps.
Regards, Marcos
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!