How to create a volume data from a matrix x,y,z,v?
4 次查看(过去 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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 3-D Volumetric Image Processing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!