Need command for Continuous time fourier transform

조회 수: 40 (최근 30일)
Ratna
Ratna 2011년 9월 17일
답변: Juhi Maraskole 2020년 9월 16일
Hai, I need command for Continuous time fourier transform.I know the command for Discrete time fourier transform.
One more Question, does the both results of Continuous time fourier transform and Discrete time fourier transform the same, or different.

채택된 답변

Walter Roberson
Walter Roberson 2011년 9월 17일
Continuous and Discrete Fourier Transform are the same in the limit case of the steps being infinitesimals.
Other than that, they cannot be compared as they work on two different kinds of information.

추가 답변 (5개)

Wayne King
Wayne King 2011년 9월 17일
Hi, If you have the Symbolic Toolbox, you can use fourier() to obtain the Fourier transform.
syms x;
f = exp(-x^2);
fourier(f)
Wayne
  댓글 수: 3
Wayne King
Wayne King 2011년 9월 17일
Hi Ratna, With all due respect, that is not correct.
Please see
>>doc symbolic/fourier
fourier
Fourier integral transform
The examples are not periodic functions of the independent variable.
Wayne
ramakrishna bathini
ramakrishna bathini 2011년 9월 19일
Hi Wayne,
I am wrong, you are correct. But I have a function to find fourier transform over the limits.
How can I do this? As the above function fourier is for [-infinity to infinity]
Thanks,
Ratna.

댓글을 달려면 로그인하십시오.


Wayne King
Wayne King 2011년 9월 19일
Hi Ratna, You can use assume() to place limits on your variable of integration.
For example
syms x
% create Dirac distribution shifted to -1
f = dirac(x+1)
fourier(f)
% gives exp(w*i)
assume(x>0)
fourier(f)
% gives 0
Wayne
  댓글 수: 1
Abdul Qadeer
Abdul Qadeer 2019년 11월 27일
hi, how can we find continous time fourier and transform by using for loop. don't use built in func. plz help.

댓글을 달려면 로그인하십시오.


Walter Roberson
Walter Roberson 2011년 9월 19일
I would not recommend the approach of using assumptions. Fourier transforms are defined from -infinity to +infinity and attempts to cheat that are likely to go wrong.
Instead, multiply the function of interest by dirac(x-lowerbound) * dirac(upperbound-x) and fourier() the transformed function.

Anvesh Samineni
Anvesh Samineni 2019년 10월 31일
continuous-time Fourier series and transforms:
p(t) = A 0 ≤ t ≤ Tp < T
0 otherwise
how can we write the code for this?

Juhi Maraskole
Juhi Maraskole 2020년 9월 16일
Anse

카테고리

Help CenterFile Exchange에서 Discrete Fourier and Cosine Transforms에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by