Double integration of a matrix
4 views (last 30 days)
Show older comments
MANJEET YADAV
on 26 Apr 2021
Commented: Star Strider
on 26 Apr 2021
Can someone help me with double integration of 12*12 matrix (wrt x and wrt y of elements of the matrix).
I have input the element values in a matrix say F.
0 Comments
Accepted Answer
Star Strider
on 26 Apr 2021
A = rand(12); % Create Matrix
Col_int = trapz(A)
Full_int = trapz(Col_int)
3 Comments
Star Strider
on 26 Apr 2021
None of that was in the original post!
Assuming that the intent is to do this symbolically —
syms x y x1 x2 y1 y2
A=[x x*y; x^3+y^2 x*y^3]
int_x = int(A, x, x1, x2)
intxy = int(int_x, y, y1, y2)
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

