SlideShare a Scribd company logo
1 of 1
Download to read offline
please use MATLAB!!!!!please use MATLAB!!!!!please use MATLAB!!!!!please use MATLAB!!!!!
please provide a neatly code!!!!!
please provide detailed explanation!!!
Q1. For a function f(x), its Fourier transform can be defined as g(y)=f(x)ei2xydx Use FFT, calculate
(approximately) the Fourier transform of f(x)=[cos(6x)+sin(7x)]ex2 Suggestions: Truncate x to [L,L)
for L=20 with N=2m=4096 points, truncate y to [m/(2L),(m1)/(2L)] with also 2m points, plot f(x) on [
2,2] and plot real and imaginary parts of g on [7,7]. Hints: We need to approximate the integral
relation and write it to something like Eq. (5) of lecture note. Define xj=jL/m for j=m,m+1,,0,1,,m1,
define yk=k/(2L) for k=m,m+1,,m1. Notice that xjyk=jk/(2m)=jk/N. We can approximate g(y) as g(yk
)=mLj=mm1f(xj)ei2xjyk=mLj=mm1f(xj)ei2jk/N,k=m,m+1,,m1. The above is somewhat similar to Eq.
(5) of the lecture note, but the ranges for j and k are different. For DFT, we should have indices
from 0 to N1. Now, suppose j is negative, we can add N to it and define j+N as the new j. Notice
that since ei2k=1 for any integer k, we have ei2jk/N=ei2(j+N)k/N. Similarly, for a negative k, we
can replace it by k+N. This implies that if we can define f~=f~0f~1f~2f~N1=f(x0)f(x1)f(xm1)f(xm)f(x
2)f(x1),g~=g~0g~1g~2g~N1=g(y0)g(y1)g(ym1)g(ym)g(y2)g(y1) then g~k=mLj=0N1f~jei2jk/N,k=0,1
,,N1

More Related Content

Similar to please use MATLABplease use MATLABplease use MATLA.pdf

2.3 new functions from old functions
2.3 new functions from old functions2.3 new functions from old functions
2.3 new functions from old functions
BarojReal1
 
Fourier transforms & fft algorithm (paul heckbert, 1998) by tantanoid
Fourier transforms & fft algorithm (paul heckbert, 1998) by tantanoidFourier transforms & fft algorithm (paul heckbert, 1998) by tantanoid
Fourier transforms & fft algorithm (paul heckbert, 1998) by tantanoid
Xavier Davias
 
FourierTransform detailed power point presentation
FourierTransform detailed power point presentationFourierTransform detailed power point presentation
FourierTransform detailed power point presentation
ssuseracb8ba
 

Similar to please use MATLABplease use MATLABplease use MATLA.pdf (20)

Dynamical systems solved ex
Dynamical systems solved exDynamical systems solved ex
Dynamical systems solved ex
 
Calculusseveralvariables.ppt
Calculusseveralvariables.pptCalculusseveralvariables.ppt
Calculusseveralvariables.ppt
 
Estimation of the score vector and observed information matrix in intractable...
Estimation of the score vector and observed information matrix in intractable...Estimation of the score vector and observed information matrix in intractable...
Estimation of the score vector and observed information matrix in intractable...
 
ON CONVOLUTABLE FRECHET SPACES OF DISTRIBUTIONS
ON CONVOLUTABLE FRECHET SPACES OF DISTRIBUTIONSON CONVOLUTABLE FRECHET SPACES OF DISTRIBUTIONS
ON CONVOLUTABLE FRECHET SPACES OF DISTRIBUTIONS
 
7 functions
7   functions7   functions
7 functions
 
Orthogonal_Polynomials
Orthogonal_PolynomialsOrthogonal_Polynomials
Orthogonal_Polynomials
 
Fourier transform
Fourier transformFourier transform
Fourier transform
 
Hierarchical matrices for approximating large covariance matries and computin...
Hierarchical matrices for approximating large covariance matries and computin...Hierarchical matrices for approximating large covariance matries and computin...
Hierarchical matrices for approximating large covariance matries and computin...
 
Lect5 v2
Lect5 v2Lect5 v2
Lect5 v2
 
Hermite integrators and Riordan arrays
Hermite integrators and Riordan arraysHermite integrators and Riordan arrays
Hermite integrators and Riordan arrays
 
math camp
math campmath camp
math camp
 
Fourier transform
Fourier transformFourier transform
Fourier transform
 
Design & Analysis of Algorithms Assignment Help
Design & Analysis of Algorithms Assignment HelpDesign & Analysis of Algorithms Assignment Help
Design & Analysis of Algorithms Assignment Help
 
2.3 new functions from old functions
2.3 new functions from old functions2.3 new functions from old functions
2.3 new functions from old functions
 
Low rank tensor approximation of probability density and characteristic funct...
Low rank tensor approximation of probability density and characteristic funct...Low rank tensor approximation of probability density and characteristic funct...
Low rank tensor approximation of probability density and characteristic funct...
 
Fourier transforms & fft algorithm (paul heckbert, 1998) by tantanoid
Fourier transforms & fft algorithm (paul heckbert, 1998) by tantanoidFourier transforms & fft algorithm (paul heckbert, 1998) by tantanoid
Fourier transforms & fft algorithm (paul heckbert, 1998) by tantanoid
 
Differential Equations Assignment Help
Differential Equations Assignment HelpDifferential Equations Assignment Help
Differential Equations Assignment Help
 
FourierTransform detailed power point presentation
FourierTransform detailed power point presentationFourierTransform detailed power point presentation
FourierTransform detailed power point presentation
 
chapter3.ppt
chapter3.pptchapter3.ppt
chapter3.ppt
 
Fourier series Introduction
Fourier series IntroductionFourier series Introduction
Fourier series Introduction
 

More from aggarwalopticalsco

Please Urgent Draw the EER diagram for the Hiking Database.pdf
Please Urgent  Draw the EER diagram for the Hiking Database.pdfPlease Urgent  Draw the EER diagram for the Hiking Database.pdf
Please Urgent Draw the EER diagram for the Hiking Database.pdf
aggarwalopticalsco
 
PLEASE USE TuProlog for this Also the facts need to be Bi.pdf
PLEASE USE  TuProlog  for this Also the facts need to be Bi.pdfPLEASE USE  TuProlog  for this Also the facts need to be Bi.pdf
PLEASE USE TuProlog for this Also the facts need to be Bi.pdf
aggarwalopticalsco
 
Please to write a Rebuttal essay on these points 1 IP laws .pdf
Please to write a Rebuttal essay on these points 1 IP laws .pdfPlease to write a Rebuttal essay on these points 1 IP laws .pdf
Please to write a Rebuttal essay on these points 1 IP laws .pdf
aggarwalopticalsco
 
Please tell me the correct answer for each question listed .pdf
Please tell me the correct answer for each question listed .pdfPlease tell me the correct answer for each question listed .pdf
Please tell me the correct answer for each question listed .pdf
aggarwalopticalsco
 
Please solve the TODO parts of the following probelm incl.pdf
Please solve the TODO parts of the following probelm  incl.pdfPlease solve the TODO parts of the following probelm  incl.pdf
Please solve the TODO parts of the following probelm incl.pdf
aggarwalopticalsco
 
Please solve the TODO parts include LinkedListcpph tem.pdf
Please solve the TODO parts  include LinkedListcpph tem.pdfPlease solve the TODO parts  include LinkedListcpph tem.pdf
Please solve the TODO parts include LinkedListcpph tem.pdf
aggarwalopticalsco
 

More from aggarwalopticalsco (20)

Please watch the video and answer the questions Streams.pdf
Please watch the video and answer the questions    Streams.pdfPlease watch the video and answer the questions    Streams.pdf
Please watch the video and answer the questions Streams.pdf
 
Please user C WPF and provide complete code and screenshot .pdf
Please user C WPF and provide complete code and screenshot .pdfPlease user C WPF and provide complete code and screenshot .pdf
Please user C WPF and provide complete code and screenshot .pdf
 
Please use the Addition Calculator as a base for your co.pdf
Please use the Addition Calculator as a base for your co.pdfPlease use the Addition Calculator as a base for your co.pdf
Please use the Addition Calculator as a base for your co.pdf
 
Please use Excel Calculations 9What is the net pr.pdf
Please use Excel Calculations   9What is the net pr.pdfPlease use Excel Calculations   9What is the net pr.pdf
Please use Excel Calculations 9What is the net pr.pdf
 
Please Urgent Draw the EER diagram for the Hiking Database.pdf
Please Urgent  Draw the EER diagram for the Hiking Database.pdfPlease Urgent  Draw the EER diagram for the Hiking Database.pdf
Please Urgent Draw the EER diagram for the Hiking Database.pdf
 
Please use any example Consider the international strategy.pdf
Please use any example  Consider the international strategy.pdfPlease use any example  Consider the international strategy.pdf
Please use any example Consider the international strategy.pdf
 
Please upload a word document of your responses I Assuming.pdf
Please upload a word document of your responses I Assuming.pdfPlease upload a word document of your responses I Assuming.pdf
Please upload a word document of your responses I Assuming.pdf
 
PLEASE USE TuProlog for this Also the facts need to be Bi.pdf
PLEASE USE  TuProlog  for this Also the facts need to be Bi.pdfPLEASE USE  TuProlog  for this Also the facts need to be Bi.pdf
PLEASE USE TuProlog for this Also the facts need to be Bi.pdf
 
Please to write a Rebuttal essay on these points 1 IP laws .pdf
Please to write a Rebuttal essay on these points 1 IP laws .pdfPlease to write a Rebuttal essay on these points 1 IP laws .pdf
Please to write a Rebuttal essay on these points 1 IP laws .pdf
 
Please type your asnwer for a better rating 4 Explain f.pdf
Please type your asnwer for a better rating    4 Explain f.pdfPlease type your asnwer for a better rating    4 Explain f.pdf
Please type your asnwer for a better rating 4 Explain f.pdf
 
Please tell me the correct answer for each question listed .pdf
Please tell me the correct answer for each question listed .pdfPlease tell me the correct answer for each question listed .pdf
Please tell me the correct answer for each question listed .pdf
 
Please solve the TODO parts of the following probelm incl.pdf
Please solve the TODO parts of the following probelm  incl.pdfPlease solve the TODO parts of the following probelm  incl.pdf
Please solve the TODO parts of the following probelm incl.pdf
 
Please solve the TODO parts include LinkedListcpph tem.pdf
Please solve the TODO parts  include LinkedListcpph tem.pdfPlease solve the TODO parts  include LinkedListcpph tem.pdf
Please solve the TODO parts include LinkedListcpph tem.pdf
 
Please solve the following problem Make a program that dete.pdf
Please solve the following problem Make a program that dete.pdfPlease solve the following problem Make a program that dete.pdf
Please solve the following problem Make a program that dete.pdf
 
please show steps Consider the function fxyzz968x63.pdf
please show steps Consider the function fxyzz968x63.pdfplease show steps Consider the function fxyzz968x63.pdf
please show steps Consider the function fxyzz968x63.pdf
 
please solve in Java language not in other language Instruct.pdf
please solve in Java language not in other language Instruct.pdfplease solve in Java language not in other language Instruct.pdf
please solve in Java language not in other language Instruct.pdf
 
please solve fast ND correctlyits urgent An animal that i.pdf
please solve fast ND correctlyits urgent An animal that i.pdfplease solve fast ND correctlyits urgent An animal that i.pdf
please solve fast ND correctlyits urgent An animal that i.pdf
 
please solve all parts as they are the same question but MCQ.pdf
please solve all parts as they are the same question but MCQ.pdfplease solve all parts as they are the same question but MCQ.pdf
please solve all parts as they are the same question but MCQ.pdf
 
Please show your calculations and complete the table 3 Co.pdf
Please show your calculations and complete the table  3 Co.pdfPlease show your calculations and complete the table  3 Co.pdf
Please show your calculations and complete the table 3 Co.pdf
 
Please show work on paper For the general loan of amount L t.pdf
Please show work on paper For the general loan of amount L t.pdfPlease show work on paper For the general loan of amount L t.pdf
Please show work on paper For the general loan of amount L t.pdf
 

Recently uploaded

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 

Recently uploaded (20)

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
 

please use MATLABplease use MATLABplease use MATLA.pdf

  • 1. please use MATLAB!!!!!please use MATLAB!!!!!please use MATLAB!!!!!please use MATLAB!!!!! please provide a neatly code!!!!! please provide detailed explanation!!! Q1. For a function f(x), its Fourier transform can be defined as g(y)=f(x)ei2xydx Use FFT, calculate (approximately) the Fourier transform of f(x)=[cos(6x)+sin(7x)]ex2 Suggestions: Truncate x to [L,L) for L=20 with N=2m=4096 points, truncate y to [m/(2L),(m1)/(2L)] with also 2m points, plot f(x) on [ 2,2] and plot real and imaginary parts of g on [7,7]. Hints: We need to approximate the integral relation and write it to something like Eq. (5) of lecture note. Define xj=jL/m for j=m,m+1,,0,1,,m1, define yk=k/(2L) for k=m,m+1,,m1. Notice that xjyk=jk/(2m)=jk/N. We can approximate g(y) as g(yk )=mLj=mm1f(xj)ei2xjyk=mLj=mm1f(xj)ei2jk/N,k=m,m+1,,m1. The above is somewhat similar to Eq. (5) of the lecture note, but the ranges for j and k are different. For DFT, we should have indices from 0 to N1. Now, suppose j is negative, we can add N to it and define j+N as the new j. Notice that since ei2k=1 for any integer k, we have ei2jk/N=ei2(j+N)k/N. Similarly, for a negative k, we can replace it by k+N. This implies that if we can define f~=f~0f~1f~2f~N1=f(x0)f(x1)f(xm1)f(xm)f(x 2)f(x1),g~=g~0g~1g~2g~N1=g(y0)g(y1)g(ym1)g(ym)g(y2)g(y1) then g~k=mLj=0N1f~jei2jk/N,k=0,1 ,,N1