How to write a function and create 3 nested loop then evaluate an integral?
Ältere Kommentare anzeigen
I have a matrix of Density values (rho) of size 15x121 , I have lambda is a row of size 1x20 and the values of lambda between 0 and 2 .I want to evaluate the following function : f(t)= [exp(-lambda*t)*rho] then I want the integral of f with respect to t and the integral from t_j-1 to t_j The values of t is between 0 and 1 , and those are 15 intervals (( i.e 15 intervals [t_j-1,t_j] ))
Thanks for any help
Akzeptierte Antwort
Weitere Antworten (1)
yonatan gerufi
am 6 Okt. 2014
Bearbeitet: yonatan gerufi
am 6 Okt. 2014
for 3 dim integral use:
integral3
1 Kommentar
Fatin
am 6 Okt. 2014
Kategorien
Mehr zu Creating and Concatenating Matrices finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!