필터 지우기
필터 지우기

integration

조회 수: 1 (최근 30일)
mouna
mouna 2011년 5월 18일
hi, i have this integral: y(t)=integral(C(t)*dt)
i need to plot y=f(t) how i can do it?
thanks in advance
  댓글 수: 1
Jan
Jan 2011년 5월 18일
Use an integrator to integrate C. Then call PLOT to draw the results. Please post any details.

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

답변 (1개)

John D'Errico
John D'Errico 2011년 5월 18일
For a numeric vector, just use cumtrapz. For a symbolic function, just evaluate the integrated C(t) at a list of points to plot.
  댓글 수: 2
mouna
mouna 2011년 5월 19일
good morning
sorry but i don't understand; i need to plot this integration in each minute so how i can do it
Ivan van der Kroon
Ivan van der Kroon 2011년 5월 19일
y=cumtrapz(C);
plot(t,y)
assuming t is monospaced

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

카테고리

Help CenterFile Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by