ashwini1
Member level 1
how to shift the phase of signal
Hi,
How to shift the phase of modulated signal ??
Fs=10e3;
fc=Fs/2;
t=(0:Fs)'/Fs;
x=sin(2*pi*50*t);
y=ammod(x,fc,Fs);
%% phase shifting
y1=y.*exp(-j*(pi/2));
when i plot the results, i am not getting the required output..
what is the problem and how do i overcome it?
Thanks !
Ashwini .
Hi,
How to shift the phase of modulated signal ??
Fs=10e3;
fc=Fs/2;
t=(0:Fs)'/Fs;
x=sin(2*pi*50*t);
y=ammod(x,fc,Fs);
%% phase shifting
y1=y.*exp(-j*(pi/2));
when i plot the results, i am not getting the required output..
what is the problem and how do i overcome it?
Thanks !
Ashwini .