How do I integrate a matrix?
Afficher commentaires plus anciens

I want to integrate this equation above with the matrix [T] already previuosly defined. Can anyone help here...?
5 commentaires
madhan ravi
le 10 Mai 2020
Modifié(e) : madhan ravi
le 10 Mai 2020
What’s rj? A vector? Can you upload your T matrix? How are the variables defined? Upload your code.
Taylor Carrington
le 10 Mai 2020
Taylor Carrington
le 10 Mai 2020
Ameer Hamza
le 10 Mai 2020
Can you show the equation of matrix T in mathematical form?
Taylor Carrington
le 10 Mai 2020
Réponses (1)
darova
le 11 Mai 2020
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?
Catégories
En savoir plus sur Calculus 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!
