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!
