10. The purpose of this problem is to use MATLAB to demonstrate the differences between frequencies in continuous and di

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

10. The purpose of this problem is to use MATLAB to demonstrate the differences between frequencies in continuous and di

Post by answerhappygod »

10 The Purpose Of This Problem Is To Use Matlab To Demonstrate The Differences Between Frequencies In Continuous And Di 1
10 The Purpose Of This Problem Is To Use Matlab To Demonstrate The Differences Between Frequencies In Continuous And Di 1 (70.98 KiB) Viewed 38 times
10. The purpose of this problem is to use MATLAB to demonstrate the differences between frequencies in continuous and discrete time. a) Plot the continuous-time function x(t) = cos(ot) for wo = · π /16, π /8, π /4, π 12, π, 15 π/8, 2, 5 m/2, 3 n, and 4 . The value of t should range between 0 and 40 for each plot. You should plot all ten of these plots on a single page, which can be accomplished using the subplot() command in MATLAB. Use an appropriate number of samples so that the resulting plots appear to be continuous functions. Turn in a listing of the code you used to accomplish this, along with your plots. b) Plot the discrete-time function x[n] = cos(on) for @= π/16, π/8, π/4, π/2, π, 15 π/8, 2 , 5 π /2, 3 π, and 4 π as n ranges from 0 to 40. All ten of these plots should be plotted on a single page. Note that this is a discrete-time function so that x[n] takes on values at only integer values of n. This is most conveniently plotted using the stem() command in MATLAB. Turn in a listing of the code you used to accomplish this, along with your plots. c) Determine the fundamental period of each of the signals plotted in part a. How does the rate of oscillation vary as o varies? d) Determine the fundamental period of each of the signals plotted in part b. How does the rate of oscillation vary as a varies? Comment on any major differences between the plots in part a and part b.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply