ghasia
Newbie level 6
matlab pulse amplitude modulation
Hi,can someone help me to compute the waveform of the PAM signal s(t) with pulse duration T=500;a sinusoidal signalof frequency f0=10000Hz sampled at the rate of 8kHz and then applied to a sample-and-hold circuit to produce a flat toppped PAM.
can i show my codes as
"fs=8000;
>> n=0:1/fs:1;
>> x=cos(10000*n);
>> plot(n,x);
but i couldnt obtain the result.i've attached the waveform of my results.
Thanks in advance
Hi,can someone help me to compute the waveform of the PAM signal s(t) with pulse duration T=500;a sinusoidal signalof frequency f0=10000Hz sampled at the rate of 8kHz and then applied to a sample-and-hold circuit to produce a flat toppped PAM.
can i show my codes as
"fs=8000;
>> n=0:1/fs:1;
>> x=cos(10000*n);
>> plot(n,x);
but i couldnt obtain the result.i've attached the waveform of my results.
Thanks in advance