# Calculate and plot Fourier spectrum using W|A?

Posted 8 months ago
1143 Views
|
3 Replies
|
0 Total Likes
|
 Does Wolframalpha have commands that (easily) allow me to supply a mathematical function and, then, have outputted a plot of the Fourier spectrum? Or do I have to go through the process of myself of Fourier transforming and extracting amplitudes from that and, then, plotting?
3 Replies
Sort By:
Posted 8 months ago
 What have you tried? This is the sort of thing one should first experiment with, and go to a forum if nothing suitable was found.
 Could just request the absolute value. This worked fine for me: WolframAlpha["abs of fourier transform Dawson(sqrt(t)theta(t))"] It even showed a plot.The second issue probably comes down to having a parameter that W|A balks on. Using specific numbers seems to work fine. The Wolfram Language can handle the general parameter case using the Assumptions option.FourierTransform[DawsonF[Sqrt[at]]HeavisideTheta[t], t, w, Assumptions -> a > 0](* Out[132]= (Sqrt[a] (I w + Abs[w]))/(4 (a - I w) Abs[w]^(3/2)) *)General remark: Posting specific examples makes it easier for others to do diagnoses and provide relevant responses. This post had such an example and that of course is quite helpful.