How to write a function and create 3 nested loop then evaluate an integral?
Mostra commenti meno recenti
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
Risposta accettata
Più risposte (1)
yonatan gerufi
il 6 Ott 2014
Modificato: yonatan gerufi
il 6 Ott 2014
for 3 dim integral use:
integral3
1 Commento
Fatin
il 6 Ott 2014
Categorie
Scopri di più su Creating and Concatenating Matrices in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!