Question: Q-1): Write a main m-file that generates and plots the signal shown below. For this purpose, do the followings: 1. Write a signal generation code

Q-1): Write a main m-file that generates and plots the signal shown below. For this purpose, do the followings: 1. Write a signal generation code as a separate function file for rectangular, triangular and sinc functions shown below, each defined by its parameters, such as amplitude, duration .. 2. Plot each signal in one plot and label the plots. 3. Write a main m-file that generates and plots the signal shown below. Call the functions of the signal components needed for this task from your main .m file. 4. Label the plot carefully. You may use comments to denote your logic. 5. Finally, copy all your code and graph (as jpeg or png) to your report
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
