Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Matlab Let us start with looking at what a simple convolution does to signals. Generate the three signals below 1 with a suitable sampling frequency
Matlab Let us start with looking at what a simple convolution does to signals. Generate the three signals below 1 with a suitable sampling frequency and a total duration of Ttot 0.1 s. If the signal is shorter than the total duration, add zeros to match Tot (this is called zero-padding - check the total number of samples you get in the end). Write separate functions for each signal (e.g generate_square), generate_ramp), zero_pad()) . A normalized square-wave signal (sometimes called 'boxcar-function') with T= 10 ms MATLAB ones (N,M), zeros (N,M) . A linear ramp of duration To -10 ms t if 0t To 0 nTo(t)= if t> To Think about which sampling rate to choose - it would be good to end up with integer numbers of samples... When generating a digital signal, you normally start with generating the time vector representing the points in time where the signal is being sampled. Then you assign the desired values at these samples Each of the three functions should have their own Matlab script, so the functions can be used later on
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