Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I have attached a download link of the matlab data file. Please include matlab c

ID: 2082428 • Letter: I

Question

I have attached a download link of the matlab data file. Please include matlab code for the answers.

hw9mat.mat download link: https://1fichier.com/?gysex8x3in

4. (30 points) [MATLAB exercise.] A periodic signal n] is perturbed by an additive noise, vin], which is generated uniformly between -0.5 and 0.5. The measurement yIn] arIn] v[n] is stored in the file w9mat.mat' (you can download it from the Canvas, it is located right below w9.pdf (a) (15 points) Find the period of rInl. (b) (15 points Find the estimate ilm) of an and plot it (use command st

Explanation / Answer

Thanks for choosing chegg!! Here's the answer..

close all
clear all
clc
load('hw9mat.mat');
x=y;
M = 6; %the order of the moving average filter
num = ones(1,M);
y = filter(num,1,x)/M;
plot(y,x)
plot(y)
% this finds the period of the signal
ac=xcorr(y,y);
[~,locs]=findpeaks(ac);
period=mean(diff(locs)*0.1)

Happy learning!! :)

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote