Question

MATLAB Provide printouts of the program and results where you calculated the Fourier transform of the following: Each student
Fourier Page 1 of Fourier Transform syms t w f-cos (2 *pi*t) ; fourier (f,w) ADe 2 Fourier Page 1 of Foutier Transform syms t
please show MATLAB code with results please
MATLAB Provide printouts of the program and results where you calculated the Fourier transform of the following: Each student will substitute the last two numbers from their student ID number for the letter "a" ult-a) Wribc an ID nunber 6(t+a) rect(t/a) (a/n)(sinc(at/n) expljat) cos(at) sin(at)u(t) See the attached examples
Fourier Page 1 of Fourier Transform syms t w f-cos (2 *pi*t) ; fourier (f,w) ADe 2 Fourier Page 1 of Foutier Transform syms t w -sin (2 pi t): fourier (f,w) Pubished with MATLABO R2013a
0 0
Add a comment Improve this question Transcribed image text
Answer #1

I used a=4 in all the examples.

Given below is the MATLAB code for each signal along with their output

>>syms t W > f-cos (2*pi*t); > fourier (f, w) ans dirac (w pi* (dirac (w - 2*pi) 2*pi))

>>syms t f-dirac (t-4) >fourier (f, w) ans exp (-w*4i)

>>syms t f=heaviside (t-4); >fourier (f, w) ans= exp (-w*4i) (pi*dirac (w) - li/w)

>>syms t W f-rectangularPulse (t/4); fourier (f,w) ans (cos (2*w)*1i (cos (2*w) *1i sin (2*w) ) /w - sin (2*w))/w

>>syms t W f-rectangularPulse (t/4); fourier (f,w) ans (cos (2*w)*1i (cos (2*w) *1i sin (2*w) ) /w - sin (2*w))/w

> syms t W > f-exp (i*4*t); fourier (f, w) ans = 2*pi*dirac (w - 4)

> f- (sin (4*t) ) *heaviside (t) >fourier (f,w) ans = - 1i/ (2* (w* 1i - 4i)) li/ (2* (w*1i 4i)) - (pi*dirac (w - 4) *1i )/2

Please thumbs up

Add a comment
Know the answer?
Add Answer to:
please show MATLAB code with results please MATLAB Provide printouts of the program and results where...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Exercises: u used to the instructor b the end of next lab. 20 102 Plot the f(t)-sinc(20r) cos(300...

    Exercises: u used to the instructor b the end of next lab. 20 102 Plot the f(t)-sinc(20r) cos(300t)sinc (10t) cos(100t) Use the fast Fourier transform to find the magnitude and phase spectrum of the signal and plot over an appropriate range. Use appropriate values for the time interval and the sampling interval. Note that in Matlab sinc(x)-, so we need to divide the argument by n to make it match the given function. Le, sinc(20t/pi) Hint: Use the parameters from...

  • (b) (2 pts) (t) is given as r(t) e sin(t) Find X(jw). Show that X(jw) =...

    (b) (2 pts) (t) is given as r(t) e sin(t) Find X(jw). Show that X(jw) = 25 + (w- 1)225(w+1)2 (c) (4 pts) x(t) is given as x(t)-π inc(t) cos(nt). Find X(jw) (d) (4 pts) 2(t) is given as 2(t) e Áil+ 3) + e' ỗ(t-3). Find X (jw). Simplify the answer as (e) (4 pts) 2(t) is given as r(t) = rect(2(t )) reetgehj)). Hint: use Fourier Transform pair: sine(t)艹rect( ) much as possible Find X(jw). Simplify the answer...

  • Hi can you help me solve the following Signals and Systems question on Forward and Inverse Fourie...

    Hi can you help me solve the following Signals and Systems question on Forward and Inverse Fourier Transform. I have attached the answers for your reference. (Note: As the answers are in random order, only 2 out of the 5 are correct.) Thank you. 15. Using the multiplication-convolution duality of the CTFT, find an expression for y(0) that does not use the convolution operator * and graph y(U) (a) y(1)= rect() * cos(n) (b) y(1)=rect(t) * cos(2π) Multiplication-Convolution Duality Properties:...

  • Fourier transforms using Properties and Table 1·2(t) = tri(t), find X(w) w rect(w/uo), find x(t) 2....

    Fourier transforms using Properties and Table 1·2(t) = tri(t), find X(w) w rect(w/uo), find x(t) 2. X(w) 3, x(w) = cos(w) rect(w/π), find 2(t) X(w)=2n rect(w), find 2(t) 4. 5, x(w)=u(w), find x(t) Reference Tables Constraints rect(t) δ(t) sinc(u/(2m)) elunt cos(wot) sin(wot) u(t) e-ofu(t) e-afu(t) e-at sin(wot)u(t) e-at cos(wot)u(t) Re(a) >0 Re(a) >0 and n EN n+1 n!/(a + ju) sinc(t/(2m) IIITo (t) -t2/2 2π rect(w) with 40 2r/T) 2Te x(u) = F {r) (u) aXi(u) +X2() with a E...

  • Write a Matlab code to generate the signal y(t)=10*(cos(2*pi*f1*t)+ cos(2*pi*f2*t)+ cos(2*pi*f3*t)), where f1=500 Hz, f2=750 Hz...

    Write a Matlab code to generate the signal y(t)=10*(cos(2*pi*f1*t)+ cos(2*pi*f2*t)+ cos(2*pi*f3*t)), where f1=500 Hz, f2=750 Hz and f3=1000 Hz. Plot the signal in time domain. Sketch the Fourier transform of the signal with appropriately generating frequency axis. Apply an appropriate filter to y(t) so that signal part with frequency f1 can be extracted. Sketch the Fourier transform of the extracted signal. Apply an appropriate filter to y(t) so that signal part with frequency f2 can be extracted. Sketch the Fourier...

  • This is a MATLAB Question. Below is my base code for a Fourier Series of a...

    This is a MATLAB Question. Below is my base code for a Fourier Series of a half triangle wave. So I am being asked to isolate the first 8 components so that only those first 8 components of the half triangle function are calculated by MATLAB fft function, and then afterwards I am asked to do the same thing but with the first 20 components rather than the first 8. How do I isolate the first x number of components...

  • please code on MATHLAB and show graph thank you in advance! Generate the following function y1(t)=2*...

    please code on MATHLAB and show graph thank you in advance! Generate the following function y1(t)=2* sin (2*pi* 1 *t)+4*sin(2*pi*2*t)+3*sin(2*pi*4*t) y2(t)=2*cos(2*pi*1*t)+4*cos(2*pi*2*t)+3*cos(2*pi*4*t) First, required by sampling theorem, the step size of t (delta t) has to be smaller than a value. Figure out this value and set the delta t at least 3 times smaller than this value and calculated y1(t) and y2(t). Increase the step size (delta t) and recalculate y1(t) and y2(t). See the difference. Calculate Fourier Transform of...

  • Please answer "b" only. %Example code function plotFS(m); %m = user provided number of terms desired in the Fou...

    Please answer "b" only. %Example code function plotFS(m); %m = user provided number of terms desired in the Fourier series; %this code computes the Fourier series of the function %f(x)=0, for -pi<= x <0, % =cos(x) for 0<= x <pi %generate the interval from -pi to pi with step size h; h = pi/100; xx1=[-pi:h:0]; xx2=[0:h:pi]; xx = [xx1, xx2]; %generate the given function f so that it can be graphed ff = [zeros(size(xx1)), cos(xx2)]; %compute the first partial sum...

  • Help with writing morse code

    Screen Shot 2021-03-17 at 9.57.42 AM.pngScreen Shot 2021-03-17 at 9.57.49 AM.png3 Decoding a Morse Code messageIn this exercise you will decipher a Morse code message sent to Agent 008 by Agent \(007 .\) The last words of Agent 007 were "The future of technology lies in \(\ldots\) " at which point she produced a memory stick containing a MATLAB file ctftmod.mat. The file ctftmod \(.\) mat contains the following:af, bf the denominator and numerator coefficients of a lowpass filter, whose...

  • Can you please help me answer Task 2.b? Please show all work. fs=44100; no_pts=8192; t=([0:no_pts-1]')/fs; y1=sin(2...

    Can you please help me answer Task 2.b? Please show all work. fs=44100; no_pts=8192; t=([0:no_pts-1]')/fs; y1=sin(2*pi*1000*t); figure; plot(t,y1); xlabel('t (second)') ylabel('y(t)') axis([0,.004,-1.2,1.2]) % constrain axis so you can actually see the wave sound(y1,fs); % play sound using windows driver. %% % Check the frequency domain signal. fr is the frequency vector and f1 is the magnitude of F{y1}. fr=([0:no_pts-1]')/no_pts*fs; %in Hz fr=fr(1:no_pts/2); % single-sided spectrum f1=abs(fft(y1)); % compute fft f1=f1(1:no_pts/2)/fs; %% % F is the continuous time Fourier. (See derivation...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT