How to create a volume data from a matrix x,y,z,v?

4 visualizaciones (últimos 30 días)
Philippe Corner
Philippe Corner el 18 de Mzo. de 2019
If we have a matrix M and N like "data.mat" attached, where x,y and z correspond to coordinates and elevation scatter points, and the fourth column v to a scalar value for each point; how could I create a volumen data from those points in order to interpolate the values and take contour slices from there or create filled volumes?
scatter3(M(:,1),M(:,2),M(:,3)+14,30,M(:,4),'filled')
hold on
scatter3(N(:,1),N(:,2),N(:,3)-8,30,N(:,4),'filled')
hold on
cb = colorbar;
box on
grid on
axis([4.2410e+05 4.2420e+05 6.6279e+05 6.6293e+05 1170 1240])
xlabel('x')
ylabel('y')
zlabel('z')

Respuestas (0)

Categorías

Más información sobre 3-D Volumetric Image Processing en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by