Hey guys, I currently have been set a task to achieve, but I don't know where to begin. Below is the objectives i need to achieve.
a. Fill a 1024 point array (A) with two cycles of a cosine wave. Do the same for a second array (B). Form the product of the arrays and estimate it’s integral numerically. Plot A and B and the product and add the numerical value of the integral in the plot. You should not use the symbolic toolbox for this task.
b. Repeat 3.a, this time using 20 cycles of a cosine wave for array B. comment on the result.
c. Repeat 3.a again, this time using 2 cycles of a sine wave for array B. Comment on the results.