This question is not directly related to QM although my reason for asking it is I'm trying to compute wavefunctions on my PC -- please excuse me if this is the wrong place to ask. I am having trouble using the DFT in Mathematica although I don't think my problem is directly Mathematica related.(adsbygoogle = window.adsbygoogle || []).push({});

My problem is that the DFT is not giving me the output I expect, i.e. the output that I get if I take the analytical FT.

In the following images I have the wavefunction as given and compute the CFT and DFT:

CFT : http://imgur.com/WxMTl,ROzWg#1

DFT : http://imgur.com/WxMTl,ROzWg#0

As you can see the although the DFT is correctly normalized to 1, it is incorrectly scaled. If I change the parameters n1 (steps) or L (domain) then this scaling is affected.

I need to do something to get the Fourier[] DFT function to know about the value dx. I have tried adjusting the FourierParemeters option for Fourier and have spent a great amount of time without finding a solution to what seems to be a very simple problem.

Any help would be *greatly* appreciated.

Thanks.

**Physics Forums - The Fusion of Science and Community**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Wavefunction DFT (Mathematica)

Loading...

Similar Threads for Wavefunction Mathematica | Date |
---|---|

A On tempered distributions and wavefunctions | Apr 7, 2018 |

I Quantum Field Configurations and Wavefunctions | Apr 2, 2018 |

I State Vectors vs. Wavefunctions | Apr 1, 2018 |

I Symmetric and Antisymmetric Wavefunction | Mar 27, 2018 |

Using Mathematica to solve for Jacobi Identity | Feb 3, 2016 |

**Physics Forums - The Fusion of Science and Community**