What to use instead of simple function?
조회 수: 4 (최근 30일)
이전 댓글 표시
In a ifourier function if is used simple function, the return is correct mathematically, but if I will use simplify function is not running.
What can I use instead to be correct?
exemple:
syms a real
F = exp(-w^2/(4*a^2))
f = ifourier(F)
f = simple(f)
return
a*exp(-x^2*a^2)/pi^(1/2) .... witch is correct
but if I will use simplify is not running.
I tried this way:
syms w a real
F = exp(-w^2/(4*a^2));
ifourier(F,x)
return is exp(-a^2*x^2)/(2*pi^(1/2)*(1/(4*a^2))^(1/2))
witch is not correct mathematicaly.
Can you help me?
Thank you!
댓글 수: 0
답변 (1개)
David Goodmanson
2019년 12월 29일
Hi Liliana,
1/(2*pi^(1/2)*(1/(4*a^2))^(1/2))
may not be pretty, but it does equal a/sqrt(pi) so it is mathematically correct.
참고 항목
카테고리
Help Center 및 File Exchange에서 Calculus에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!