필터 지우기
필터 지우기

How do I perform numerical integration containing multiple variables?

조회 수: 2 (최근 30일)
Saurabh Singh
Saurabh Singh 2014년 5월 27일
답변: rifat 2014년 5월 27일
I have a function of form F=f(x,y). I need to integrate it over x numerically. I know the ranges of both x and y. What is the best way to do it?
Note: It is not a mulitple integral.

답변 (1개)

rifat
rifat 2014년 5월 27일
Since it is not a double integral, you want to integrate f(x,y) at a particular value of y=y1. Evaluate the function at y=y1. Then use trapz() command to perform numerical integration via trapezoidal method.

카테고리

Help CenterFile Exchange에서 Numerical Integration and Differentiation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by