Equation of line for double integration.
1 view (last 30 days)
Show older comments
I have two vectors, I want to double integrate the vector along y-axis with respect to vector along x-axis, maybe by using integral2 command. I have difficulty in forming equation for the double integral, please help me
7 Comments
Walter Roberson
on 16 Apr 2019
integral2(@(x,y) ones(size(x)), low_x, high_x, low_y, high_y)
Answers (1)
Walter Roberson
on 15 Apr 2019
I suspect that you will want at least one cumtrapz() and then either cumtrapz() again or else trapz() depending on what you are trying to calculate.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!