How do I integrate a matrix?
Mostra commenti meno recenti

I want to integrate this equation above with the matrix [T] already previuosly defined. Can anyone help here...?
5 Commenti
madhan ravi
il 10 Mag 2020
Modificato: madhan ravi
il 10 Mag 2020
What’s rj? A vector? Can you upload your T matrix? How are the variables defined? Upload your code.
Taylor Carrington
il 10 Mag 2020
Taylor Carrington
il 10 Mag 2020
Ameer Hamza
il 10 Mag 2020
Can you show the equation of matrix T in mathematical form?
Taylor Carrington
il 10 Mag 2020
Risposte (1)
darova
il 11 Mag 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?
Categorie
Scopri di più su Calculus 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!
