Hi,(adsbygoogle = window.adsbygoogle || []).push({});

I like to think that I can generally get matlab to do what I want and when I want but this has got me stumped. I want to plot a free surface defined by a double integral:

[tex]

\eta =\frac{1}{4\pi^{2}}\int_{\mathbb{R}^{2}}\frac{\mu e^{-\mu^{2}/4}e^{i(kx+ly)}\tanh\mu}{U^{2}k^{2}-\mu (B-E_{b}\mu+\mu^{2})\tanh\mu}dkdl

[/tex]

Where [itex]\mu=\sqrt{k^{2}+l^{2}}[/itex]. I wrote a routine that does a double integral trapezium rule reasonably well but I need to get it working for the integrand above. Is there a quick method I can use to do this?

I should add that U is chosen such that the denominator has no zeros.

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

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!

# Plotting with MATLAB

Loading...

Similar Threads - Plotting MATLAB | Date |
---|---|

Matlab Plotting Coordinate Transformations in Matlab | Feb 12, 2018 |

Matlab Plotting animations (time-evolution) | Jan 17, 2018 |

Does anyone had this plotting problem with MATLAB? | Dec 23, 2017 |

Matlab Matlab's plot command | Nov 30, 2017 |

Matlab Matlab -- how to make a smooth contour plot? | Jun 28, 2017 |

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