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

5 次查看(过去 30 天)
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')

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Volume Visualization 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by