calculate the volume of a patch object

I have a patch object (enclosing a 3d volume), containing, faces, vertices, Xdata, Ydata and Zdata. May I ask how I can calculate the volume of this object. Thank you very much!

1 Comment

Any updates, @Jason? Did you try any of the methods posted below?

Sign in to comment.

Answers (2)

You can use convhulln which returns the volume of the convex hull as the 2nd output.
Perhaps first using alphaShape and then volume will do what you want.

Categories

Products

Release

R2023b

Asked:

on 1 Jan 2024

Commented:

on 25 Feb 2024

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!