MATLAB Answers

How to solve integral in matlab

475 views (last 30 days)
zahid
zahid on 14 Apr 2016
Answered: Torsten on 14 Apr 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

  0 Comments

Sign in to comment.

Accepted Answer

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

  0 Comments

Sign in to comment.

More Answers (1)

Orion
Orion on 14 Apr 2016
Hi,
to calculate integrals, the classic function to use is integral. Just see the associated doc.

  0 Comments

Sign in to comment.

Sign in to answer this question.