Plotting a Density Function Defined in Terms of an Integral

1 Ansicht (letzte 30 Tage)
Kappa Alpha
Kappa Alpha am 10 Jun. 2021
Bearbeitet: Kappa Alpha am 10 Jun. 2021
I want to plot the following function in 3D, but I first have to integrate w.r.t. y numerically since its not possible to get an analytical form.
a>0
Normally, I woulld just use
x_1 = linspace(-a,a,300);
x_2 = linspace(-a,a,300);
[X, Y] = meshgrid(x_1,x_1);
but the integral makes things a bit difficult. How can I work around this?

Antworten (0)

Kategorien

Mehr zu Programming finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by