EE 230 HW 12 Solutions Spring 2010

EE 230 HW 12 Solutions Spring 2010 - For example, if the...

This preview shows pages 1–6. Sign up to view the full content.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
% % % % % % % hw 12 matlab code of problem 7 % % % % % % n=12; VREF=1; VLSB=VREF/2^n; Ts=100*10^(-6); T=0:Ts:Ts*(200-1); % origional signal S=0.5+0.5*sin(1000.*T); % Interpreted voltage Vout=floor((0.5+0.5*sin(1000.*T))./VLSB).*VLSB; % Boolean output Boolean=dec2bin(floor((0.5+0.5*sin(1000.*T))./VLSB)); plot(T,S,'-r') hold on plot(T,Vout,'-*') legend('Origional signal','Interpreted voltage') 0 0.002 0.004 0.006 0.008 0.01 0.012 0.014 0.016 0.018 0.02 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 Problem 7 Origional signal Interpreted voltage
Problem 8 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 x 10 -3 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 Origional signal Part b Part c Part d (a) See figure above (b) We can not reconstruct the original signal from the sampling results without any prior information.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: For example, if the input signal is a sine wave having twice the frequency or a triangular waveform having same time period. Even if we know the sampling frequency is larger than or equal to the input frequency, we still can not tell whether the input is a sine wave (We would not be able to find the amplitude.) or a zero input (no input). (c) If we know the sampling frequency is larger than or equal to the input frequency, we can recover the input signal. (d) It is impossible to reconstruct the signal as the sampling frequency is not large enough. (e) See comments above....
View Full Document

EE 230 HW 12 Solutions Spring 2010 - For example, if the...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online