필터 지우기
필터 지우기

How to define this intergral

조회 수: 3 (최근 30일)
Tom Wetherill
Tom Wetherill 2013년 5월 25일
I am trying to find the integral between 0 and h but matlab keeps telling me that the int is not defined but every integral example i have checked seems to indicate that the integral is programmed into matlab but i can't find it. Is the formula below suitable to find the integral or am i missing something key. Any help would be appreciated.
h=2
Q=int(0,h)
  댓글 수: 1
Azzi Abdelmalek
Azzi Abdelmalek 2013년 5월 25일
편집: Azzi Abdelmalek 2013년 5월 25일
int(0,h)?
is an integral between 0 and h of which function?

댓글을 달려면 로그인하십시오.

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2013년 5월 25일
You can use a quad function. Example a function f(x)=x^2+3
f= @(x) x.^2+3;
Q = quad(f,0,10) % Integral between 0 and 10

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by