Filter löschen
Filter löschen

Integration of exponential function

2 Ansichten (letzte 30 Tage)
Dharma Khatiwada
Dharma Khatiwada am 26 Okt. 2021
Kommentiert: RAJ ANAND am 22 Feb. 2022
Hello,
I am trying to do the integration of the integral below. I am expecting help. Thanks!

Antworten (1)

KSSV
KSSV am 26 Okt. 2021
Bearbeitet: KSSV am 26 Okt. 2021
syms t y(x)
f = y(x)*exp(-2*(t-x)) ;
int(f,x,0,t)
ans = 
  2 Kommentare
Dharma Khatiwada
Dharma Khatiwada am 26 Okt. 2021
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 am 22 Feb. 2022
If you got answer please share here.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Symbolic Math Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by