Answered step by step
Verified Expert Solution
Question
1 Approved Answer
USING MATLAB CODE PLEASE... 1.Design a bandpass filter to only pass through the signal with a frequency of f1-f2 and show how your filtered data
USING MATLAB CODE PLEASE...
1.Design a bandpass filter to only pass through the signal with a frequency of f1-f2 and show how your filtered data look like.
Given the following code:
f1=100.02; f2=100.00; t=1:100;
ysignal=1+.1*cos(2*pi*f1*t); A=fft(ysignal); plot(t,A,'r')%figure1
yreference=1+cos(2*pi*f2*t); B=fft(yreference); figure plot(t,B,'r')%figure2
C=fft(ysignal.*yreference); figure plot(t,C,'r')%figure3
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