Find the volume of the region bounded between the planes x + y + 2z = 2 and 2x + 2y + z = 4 in the first octant.
Show older comments
I uploaded viewSolid and viewSolidone before running the program. I do not understand why an error is showing, the program works for other equations but not for this one.

2 Comments
Sam Fernando
on 15 Jan 2021
You might not have added the m files required to use these commands
A SAI CHARAN
on 4 Feb 2021
Just Remove Real and try
Accepted Answer
More Answers (1)
Using this FEX download,
[A,b]=addBounds([1,1,2;2,2,1] , [2;4],[],[],[0;0;0]);
[~, volume]=convhulln(lcon2vert(A,b))
volume =
0.6667
Categories
Find more on Multirate Signal Processing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!