How to format surface data into XYZ point cloud?
Mostrar comentarios más antiguos
I have a .csv data set that is 10x22 surface data and i'd like to convert it to XYZ point cloud. What is the best way to do this in Matlab?
3 comentarios
Luna
el 4 de En. de 2019
Could you please share your .csv file and what have you done so far?
Walter Roberson
el 4 de En. de 2019
Editada: Walter Roberson
el 5 de En. de 2019
to confirm you want a 3d pointcloud with 220 points ?
do you have the marginal coordinates , 10 y and 22 x?
Cris LaPierre
el 4 de En. de 2019
What determines Z in your surface?
Respuesta aceptada
Más respuestas (2)
Cris LaPierre
el 4 de En. de 2019
0 votos
If you can successfully create a surface with your data using surf(X,Y,Z), the best way to create an X,Y,Z point cloud is to use scatter3(X,Y,Z).
4 comentarios
Walter Roberson
el 4 de En. de 2019
surf permits vector x and y with array z. scatter3 requires vector x and y and z. If you have the marginal values then meshgrid or ndgrid to get array X and array Y and then work with X(:) Y(:) z(:)
Cris LaPierre
el 4 de En. de 2019
Good point!
Don jaya
el 9 de Abr. de 2020
I create a surface from the data i have. How to get the Z value of the surface with using only random x and y cordinates
Walter Roberson
el 12 de Mayo de 2020
Don jaya, could you describe what your available inputs are, and what outputs you want?
flemingtb
el 7 de En. de 2019
0 votos
3 comentarios
Cris LaPierre
el 7 de En. de 2019
We can help you format it, but can you describe your data? How would you create a point cloud from your CSV data? Specifically, what would you X, Y and Z data be? Is your CSV the Z values and the column number your X and the row number your Y?
flemingtb
el 7 de En. de 2019
Cris LaPierre
el 7 de En. de 2019
See walter's answer.
Categorías
Más información sobre Point Cloud Processing en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!