Question
hello, I need help on solving the extra cradits.
i just need the screen shot if the code in MATHLAB with the plot regenerating the original signal using FT result.
pls make it simple and clear. if you dont know the answer dont replay.


thats my lab report page that i need to fill for the question so you can have a better picture on what you are working on.
thank you so much



3 Extra Credit . Now consider a -1 and there is no time shifting. Try to reproduce a(t) using Inverse Fourier Trans- form equ
0 0
Add a comment Improve this question Transcribed image text
Answer #1

clc;close all;clear all;
t=-5:0.1:5;
x=sinc(t)
subplot(221)
plot(t,abs(x),'m')
xlabel('t')
ylabel('x(t)')
title('signal x(t)=sinc(t)')

k=0
for w=-pi:pi/200:pi
k=k+1
X(k)=trapz(t,x.*exp(-j*w*t))
endfor
w=-pi:pi/200:pi
subplot(222)
plot(w,abs(X),'r')
xlabel('w/pi')
ylabel('X(w)')
title('Absolute value of FT')

subplot(223)
plot(w,angle(X),'g')
xlabel('w/pi')
ylabel('X(w)')
title('Phase value of FT ')

k=0
for t=-5:0.1:5
k=k+1
xx(k)=(1/(2*pi))*(trapz(w,X.*exp(j*w*t)))
endfor
t=-5:0.1:5
subplot(224)
plot(t,xx,'b')
xlabel('w/pi')
ylabel('X(w)')
title('Orginal signal from Inverse Fourier transform')

signal x(t)-sinc(t) Absolute value of FT 0.8 0.6 0.4 0.2 0.8 0.6 0.4 6 4 4 2 4 Phase value of FT Orginal signal from Inverse

Add a comment
Know the answer?
Add Answer to:
hello, I need help on solving the extra cradits. i just need the screen shot if...
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
  • I need help with the following problem: Consider a periodic signal !(t), with period T, such...

    I need help with the following problem: Consider a periodic signal !(t), with period T, such that !(t) 0, 圹 From Example 2.3.1 of the class notes, the nth Fourier coefficient of r(t) is given by in012... a) Use Fourier series, and the symmetry of the sinc function, to express r(t) in terms of cosine functions. Do we also need sine functions in this representation? b) Suppase that is a signal with Fourier transform S Find and plot the Fourier...

  • This problem needs to be solved using MATLAB! I need help with this homework. I will...

    This problem needs to be solved using MATLAB! I need help with this homework. I will give 100% rating to the answer that is successfully executed and completed. Please provide screenshots of both the MATLAB code and the plots. Problem 4: sketch the signal g(t) = t2 and find the exponential Fourier series to represent g(t) over the interval [-1,1] (Find Dn' s). Plot Dn for n = -20:20. (use stem function in MATLAB and provide your code as well)...

  • I need someone to code this up in C , and show the screen shot shot...

    I need someone to code this up in C , and show the screen shot shot of the output for some input Design an amplitude modulation scheme that will generate the amplitude modulated signal yAM(t) ct)m(t)c(t) where c(t) sin 2rFd is the carrier with carrier frequency F, and m(t)-A,n sin 2πFmt is the modulating signal with amplitude Am and modulating frequency Fm. For initial values you may assume that Fc-6 kHz, Fm-400 Hz and Am-1.

  • Use matlab Need the matlab code Problem 3: (a) Use Fourier transform to find i(t) in...

    Use matlab Need the matlab code Problem 3: (a) Use Fourier transform to find i(t) in the circuit below if v.( 10e2tu(t). Use MATLAB to solve your problem. (b) Plot the magnitude and phase spectrum of the current I(o). 2Ω 3 20 1 H Submit the solution in word file. The used MATLAB code should be included Due date: last day of classes

  • 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...

  • This is taken from Section 4.6, "Amplitude Modulation and the Continuous-Time Fourier Transform," in the course...

    This is taken from Section 4.6, "Amplitude Modulation and the Continuous-Time Fourier Transform," in the course text Computer Explorations in signals and systems by Buck, Daniel, Singer, 2nd Edition. I need the answers for the basic and intermediate questions. 4.6 Amplitude Modulation and the Continuous-Time Fouriei Transform This exercise will explore amplitude modulation of Morse code messages. A simple ampli tude modulation system can be described by x(t) = m(t) cos(Crfot), (4.13) where m(t) is called the message waveform and...

  • hi i need help with the following & can you please put solutions in syntax form 1). f(t) satisfies the integral equa...

    hi i need help with the following & can you please put solutions in syntax form 1). f(t) satisfies the integral equation: Find the solution of the integral equation using Fourier transforms. Your answer should be expressed as a function of t using the correct syntax. f(t) = 2). A signal f(t) has a Fourier transform given by Use Parseval's theorem to find the total energy content of the signal. Your answer can be expressed as a number accurate to...

  • I need help in MATLAB. I'm working on a circuits lab report and I want to...

    I need help in MATLAB. I'm working on a circuits lab report and I want to plot the derivative of an input signal. The circuit is a differentiator OpAmp. It is receiving a triangle wave as an input and should output a square wave. (I've included my existing code.) The output formula is: Vout = -(Rf)*C*(dVin/dt) Where Rf is feedback resistance: Rf = 1*10^6; and C = 1*10^-6. EXISTING CODE: %% This section is copied, and then modified from another...

  • I need help with these problems It has been shown that the discrete Fourier transform(DFT) of a time hltk) for (k 0,1,2...

    I need help with these problems It has been shown that the discrete Fourier transform(DFT) of a time hltk) for (k 0,1,2, N -1). is given by V-1 k--0 Choosing N8 carry out the Cooley- Tukey formulation of FFT by following the ste below (a) Write the expressions for DFT H, in terms of hita) and the inverse DFT ht) in terms of f, for N = 8. (b) Define ". ear/N and rewrite (a) using w (c) Express (b)...

  • 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