Then we generate a 2 nd signal as y2 equals to cos of 2 * pi * fr2.* t1, where fr2 is 2 nd signal frequency and t1 is a time duration. Now generate a 1 st signal as y1 equals to sin of 2 * pi * fr1.* t1, where fr1 is 1 st signal frequency and t1 is a time duration. Now we generate a frequency of the first signal as a 10 hertz this assign to fr1 and we generate a frequency of the second signal as a 15 hertz this assign to fr2. For generating time duration we are taking it as 0 to 2 with a difference of 1 and this time duration we take in a t1 variable.
This example is about how to calculate the result of the convolution of two different signals in a matlab.
The syntax for Convolution Matlabisas shown below:.
Hadoop, Data Science, Statistics & others