This is my program on MATLAB , but i don\'t know how to do plot for the signal,
ID: 1714813 • Letter: T
Question
This is my program on MATLAB , but i don't know how to do plot for the signal, carrier, transmitted signal, recived signal ,or even the modulated singal and if there is a need to remove the noise ! any idea please help me ??
p> load aldhuhoori.Mat >> load aldhuboori.mat': >>load 'aldhuhoori.mat'; >> 1040000; >>fs 3120000; >> wn=fc/(2*fs); >> Ac=5; >> t=linspace(0,length(data)/fslength(data) ); >> ScFAc*sin(2* pi* fc*t); >> sm=transpose(data); >> %demodulation eodam. "sc; ba-cheby1(10,3,wn); >> demod Sam. *Sc >> output-filter(b,a,demod); >soundloutputA5000)Explanation / Answer
write these commands at the end of code, and you will find the plots on one window. if you want to plot on different windowns you might use the hold on command.
subplot(411)
plot(t,Sm) %Signal Plot
subplot(412)
plot(t,Sc) %carrier Plot
subplot(413)
plot(t,Sam) %Midulated Signal as well as transmitted Signal Plot
subplot(414)
plot(t,demod) %Demodulated Signal Plot
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.