Task 3 In the MATLAB code provided in Section 6 of the lab manual, we sampled the same sinusoid (1 kHz) in Task 2 at a l

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Task 3 In the MATLAB code provided in Section 6 of the lab manual, we sampled the same sinusoid (1 kHz) in Task 2 at a l

Post by answerhappygod »

Task 3 In The Matlab Code Provided In Section 6 Of The Lab Manual We Sampled The Same Sinusoid 1 Khz In Task 2 At A L 1
Task 3 In The Matlab Code Provided In Section 6 Of The Lab Manual We Sampled The Same Sinusoid 1 Khz In Task 2 At A L 1 (36.74 KiB) Viewed 7 times
Task 3 In The Matlab Code Provided In Section 6 Of The Lab Manual We Sampled The Same Sinusoid 1 Khz In Task 2 At A L 2
Task 3 In The Matlab Code Provided In Section 6 Of The Lab Manual We Sampled The Same Sinusoid 1 Khz In Task 2 At A L 2 (28.12 KiB) Viewed 7 times
Task 3 In the MATLAB code provided in Section 6 of the lab manual, we sampled the same sinusoid (1 kHz) in Task 2 at a lower sampling rate (fs/4) to observe the aliasing effects. Copy the MATLAB code and run it in a script. You must have all the variables from Task 2 in the MATLAB workspace for this to work. a) Include the plots generated. b) By looking at the plots, explain whether aliasing effects have increased or decreased.
6. Aliasing Now we sample the same sinusoid (1 kHz) in Section 5 at a lower sampling rate to observe the aliasing effects. You must have all the variables from the code in Section 5 in the MATLAB workspace for this to work. Also observe the impact of zero-order hold (ZOH) signal reconstruction on the quality of the output signal close all 11 -4a-101no_pts/a-111/fa a Yasin 12 i 1000 tique plot (t.yl.t_4.y_a): xlabel' (second)") label (y)) Legend ( axist(0,0.004,-1.2.1.21); ANA ") diaplay'apled at ikks, played at soundty_fs/a); specify sampling rate for the sound pause (25 pause fur 2 see to separate from the next sound and B 4 Check the frequency domain signal. Hetice that the replica of Figa! now in the audible cange the show. fr_a-t101no pts/a-315/no_pts a/ a-fr atlino pta/a/21 ta-absttttty_a}} Esqueo_pts/a/21/ toglogite, F,fr, ti, tr_at_alog-log scale xlabel(' ylabel (in Legend ("Continuous-tie 7, 777- Signal reconstruction: Use the interp: function to get the 3 (reco-order hold version of the signal at 44 kilz. The 208 version is how the signal would sound with a 44 D/A converter soundcard Its difference from the original is significant in both the time and frequency domain and its reproduction is quite poor. interpl(t_aya,t,'anarest','trap") VE bifft (y_ni net atlino pta/21/ta Figure met plet (t.yi,t,y al axis (10,0.004,-1.2.1.2131 vinkei xiabel('s second)) WAS label (yet) Legend (44kHz', 'te 11 reconstructed at 44k uning o's Flaure figure Loging (fe, F,fr, fl. fr. n alabel('') ylabel (lyit) Legend (Continuous-tine FT, FFT (844, FFT - LLARE reconstructed at 4ks wing 201¹) display('sampled at 44als,played at 4) sound(yl, fai pause (2) display (sampled at 11ks,played at 44) 7 sound(y_n.Es);
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply