How to solve integral in matlab

155 visualizaciones (últimos 30 días)
zahid
zahid el 14 de Abr. de 2016
Respondida: Torsten el 14 de Abr. de 2016
Dear all
Can anyone help me to solve the following integral by using definite integration function i.e int(f,x) in matlab
I am looking forward to your help
With best wishes
zahid khan

Respuesta aceptada

Torsten
Torsten el 14 de Abr. de 2016
syms x
value=int(1/sqrt(2*Pi)*exp(-x^2/2),x,-Inf,Inf)
Best wishes
Torsten.

Más respuestas (1)

Orion
Orion el 14 de Abr. de 2016
Hi,
to calculate integrals, the classic function to use is integral. Just see the associated doc.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by