Symbolic DFFT in MATLAB?

조회 수: 1 (최근 30일)
Palinkas Geza
Palinkas Geza 2014년 3월 17일
댓글: Christopher Creutzig 2021년 8월 24일
Hi Guys!
I'd like to ask for your help to execute symbolic discrete FFT on a 1D array containing integers (eg. [1 1]), then plotting its abs on a continuous interval. Is it even possible with the symbolic toolbox?
Thanks in advance, Ben0it8
  댓글 수: 1
Walter Roberson
Walter Roberson 2014년 3월 17일
To check, you are only working with numeric values, but you want the result to be (e.g.) sin(42+cosh(19)) instead of the numeric equivalent ?

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

답변 (1개)

Christopher Creutzig
Christopher Creutzig 2014년 3월 31일
편집: Christopher Creutzig 2014년 3월 31일
I have no idea what “plotting its abs on a continuous interval” means, but you certainly can get a symbolic, exact, FFT from the Symbolic Math Toolbox:
>> feval(symengine, 'numeric::fft', [1 1], 'Symbolic').'
ans =
2
0
>> feval(symengine, 'numeric::fft', [1 1 2], 'Symbolic').'
ans =
4
1/2 + 2*((3^(1/2)*i)/2 + 1/2)^2 - (3^(1/2)*i)/2
- 3^(1/2)*i + ((3^(1/2)*i)/2 + 1/2)^2
  댓글 수: 1
Christopher Creutzig
Christopher Creutzig 2021년 8월 24일
Since somebody asked (please do use the questions feature here, instead of sending me email): There is no 'numeric:ifft', but you can use 'numeric::invfft'.
Note, however, that like anything involving feval(symengine, ..., this is considered an undocumented feature and can go away at any time. If this is functionality you regard useful and important for what you do, please do reach out to support@mathworks.com and let us know that you request “proper” support in the toolbox.

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

카테고리

Help CenterFile Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by