Integration of exponential function

조회 수: 2 (최근 30일)
Dharma Khatiwada
Dharma Khatiwada 2021년 10월 26일
댓글: RAJ ANAND 2022년 2월 22일
Hello,
I am trying to do the integration of the integral below. I am expecting help. Thanks!

답변 (1개)

KSSV
KSSV 2021년 10월 26일
편집: KSSV 2021년 10월 26일
syms t y(x)
f = y(x)*exp(-2*(t-x)) ;
int(f,x,0,t)
ans = 
  댓글 수: 2
Dharma Khatiwada
Dharma Khatiwada 2021년 10월 26일
Thank you for quick response. The both variable x and t runs from 0 to 20 (say). For the value of x equal to 1, 4, 7 y(x) is equal to value 5 (say). y(x) is equal to 0 at other values of x. How do I insert this condition in above integral to calculate y(t)? Any advice is appreciated.
RAJ ANAND
RAJ ANAND 2022년 2월 22일
If you got answer please share here.

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

카테고리

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