Answered step by step
Verified Expert Solution
Question
1 Approved Answer
matlab show code follow the instructions in the picture Problem Set 8 - Create a single M-file for each problem shown below: (Always suppress the
matlab show code
follow the instructions in the picture
Problem Set 8 - Create a single M-file for each problem shown below: (Always suppress the echo for the vectors, label both the horizontal and vertical axis, include a title, legend, grid and use enough points for the plot, so that the curves are smooth). 1. Generate a plot for the signal that is the output of a sample-and-hold circuit, if the samples values: {1,2.6,3.4,5,8} were taken at fs=1/2 sample/sec., starting at t=0 sec. 2. Use a strip plot to generate 4 seconds worth of data (starting at t=0 ), where each "strip" is .5 seconds worth of data, for the AM signal: s(t){cos(2100t)+2} if s(t) is the message signal: s(t)=sin(10t). 3a. Plot 4 cycles of the square wave with amplitude levels {+2,2}, period T=2 sec., and duty cycle 25% (for the "high" value). (Choose a reasonable value for fs.) 3b. Repeat problem 3a, but change the amplitude levels to {0,2}. 4. Plot 5 cycles of a triangular (sawtooth) wave, where the peak is at the end of the cycle, and the period is T=.2sec. (Choose a reasonable value for fs.) Problem Set 8, continued 5. Use MATLAB's repmat function to plot a discrete sequence with 6 repetitions of: {0,1,2,3,4}, starting at n=0. 6 Iles Incinal ewitrhoe tn nint tho funntinn chnuen holnur. 7. Consider the matrix pascal(6). Make a 2-column table showing the row and column for all entries in this matrix that are greater than 50 . Hint: Type: help pascal, and > help find. Use MATLAB's stairs function to generate the plot below. (If you have had ECE 350, you may recognize this as the window: u(t)u(t3).) Use the same scales for the axes as shown Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started