dneda
Newbie level 2
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?
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?