How do I integrate a matrix?
古いコメントを表示

I want to integrate this equation above with the matrix [T] already previuosly defined. Can anyone help here...?
5 件のコメント
madhan ravi
2020 年 5 月 10 日
編集済み: madhan ravi
2020 年 5 月 10 日
What’s rj? A vector? Can you upload your T matrix? How are the variables defined? Upload your code.
Taylor Carrington
2020 年 5 月 10 日
Taylor Carrington
2020 年 5 月 10 日
Ameer Hamza
2020 年 5 月 10 日
Can you show the equation of matrix T in mathematical form?
Taylor Carrington
2020 年 5 月 10 日
回答 (1 件)
darova
2020 年 5 月 11 日
What about this?
R = 5;
r = linspace(0,R,100);
T = rand(50,100);
rr = repmat(r,50,1); % 2d matrix r
F1 = 3/R^3*trapz(r,T.*rr.^2,2); % integrate
Is it understandable?
カテゴリ
ヘルプ センター および File Exchange で Calculus についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
