How to write a function and create 3 nested loop then evaluate an integral?
古いコメントを表示
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
採用された回答
その他の回答 (1 件)
yonatan gerufi
2014 年 10 月 6 日
編集済み: yonatan gerufi
2014 年 10 月 6 日
for 3 dim integral use:
integral3
カテゴリ
ヘルプ センター および File Exchange で Creating and Concatenating Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!