How to generate inphase and quadrature phase of a signal?
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
1 vote
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
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
Akhil
on 6 Dec 2012
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.
XUAN LIU
on 27 May 2020
i am afraid what you said is not correct
Marcos Fernandez
on 16 Dec 2017
0 votes
Hi Akhil,
your suggestion is correct, try to multiply the signal by sin and cos.
Hope this helps.
Regards, Marcos
Categories
Find more on Hilbert and Walsh-Hadamard Transforms in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!