How do I plot a double integral ?

28 visualizaciones (últimos 30 días)
Robin Stöhr
Robin Stöhr el 11 de Dic. de 2017
Respondida: SRIHARSHA CHINTA el 16 de Dic. de 2020
I need to plot this function. Can anybody help me?
  2 comentarios
Torsten
Torsten el 11 de Dic. de 2017
Which function ?
Best wishes
Torsten.
Robin Stöhr
Robin Stöhr el 12 de Dic. de 2017

Iniciar sesión para comentar.

Respuesta aceptada

Chris Perkins
Chris Perkins el 14 de Dic. de 2017
Hi Robin,
To calculate a definite double integral in MATLAB, you can use the function "integral2", which is described on the following documentation page: https://www.mathworks.com/help/matlab/ref/integral2.html
If you are looking to plot the results of a definite double integral, you can plot the results of "integral2" with various bounds, depending on your specific problem.
Alternatively, depending on what you are looking for, you could use the function "int" from the symbolic math toolbox to calculate an indefinite integral, and then plot that function.
See the documentation for the "int" function for more information: https://www.mathworks.com/help/symbolic/int.html
For general information regarding double integration in MATLAB, see the following blog post: https://blogs.mathworks.com/loren/2014/02/12/double-integration-in-matlab-methods-and-handling-discontinuities-singularities-and-more/
  1 comentario
Robin Stöhr
Robin Stöhr el 18 de Dic. de 2017
That helped a lot thank you Chris.

Iniciar sesión para comentar.

Más respuestas (1)

SRIHARSHA CHINTA
SRIHARSHA CHINTA el 16 de Dic. de 2020
syms x y z
int(int(x*y,x,1,sqrt(4-y)),y,0,3)
viewSolid(z,0+0*x+0*y,x*y,x,1,sqrt(4-y),y,0,3)

Categorías

Más información sobre Mathematics en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by