How to write a function and create 3 nested loop then evaluate an integral?
Afficher commentaires plus anciens
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
Réponse acceptée
Plus de réponses (1)
yonatan gerufi
le 6 Oct 2014
Modifié(e) : yonatan gerufi
le 6 Oct 2014
for 3 dim integral use:
integral3
1 commentaire
Fatin
le 6 Oct 2014
Catégories
En savoir plus sur Creating and Concatenating Matrices dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!