How to generate inphase and quadrature phase of a signal?
97 views (last 30 days)
Show older comments
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 Comment
mechetoune walid
on 11 Nov 2020
Google it and check this link.
https://www.markimicrowave.com/blog/top-7-ways-to-create-a-quadrature-90-phase-shift/
Answers (3)
Colin
on 10 Jun 2014
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 Comments
Rick Rosson
on 6 Dec 2012
Edited: Rick Rosson
on 6 Dec 2012
z = x + j*y;
v = x.*cos(2*pi*Fc*t) - y.*sin(2*pi*Fc*t);
I = real(z);
Q = imag(z);
3 Comments
Rick Rosson
on 7 Dec 2012
Edited: Rick Rosson
on 7 Dec 2012
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
on 16 Dec 2017
Hi Akhil,
your suggestion is correct, try to multiply the signal by sin and cos.
Hope this helps.
Regards, Marcos
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!