How do I integrate a matrix?
Mostrar comentarios más antiguos

I want to integrate this equation above with the matrix [T] already previuosly defined. Can anyone help here...?
5 comentarios
madhan ravi
el 10 de Mayo de 2020
Editada: madhan ravi
el 10 de Mayo de 2020
What’s rj? A vector? Can you upload your T matrix? How are the variables defined? Upload your code.
Taylor Carrington
el 10 de Mayo de 2020
Taylor Carrington
el 10 de Mayo de 2020
Ameer Hamza
el 10 de Mayo de 2020
Can you show the equation of matrix T in mathematical form?
Taylor Carrington
el 10 de Mayo de 2020
Respuestas (1)
darova
el 11 de Mayo de 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?
Categorías
Más información sobre Calculus en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
