How do I compute volume of a set 3-D point?

9 views (last 30 days)
clc
clear
load('data1.mat');
plot3(X,Y,Z,'.');
axis equal;
view(0,90);
tri=delaunay(X,Y);
trisurf(tri,X,Y,Z);
view(0,90);
shading interp;
axis equal;
[xr,yr]=meshgrid(min(X):300:max(X),min(Y):300:max(Y));
zr=griddata(X,Y,Z,xr,yr);

Accepted Answer

KSSV
KSSV on 20 Apr 2022
Edited: KSSV on 20 Apr 2022

More Answers (0)

Community Treasure Hunt

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

Start Hunting!