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

Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
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)

TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
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
 
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
 
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...
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
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
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
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
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
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
 

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