How to format surface data into XYZ point cloud?
Mostra commenti meno recenti
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 Commenti
Luna
il 4 Gen 2019
Could you please share your .csv file and what have you done so far?
Walter Roberson
il 4 Gen 2019
Modificato: Walter Roberson
il 5 Gen 2019
to confirm you want a 3d pointcloud with 220 points ?
do you have the marginal coordinates , 10 y and 22 x?
Cris LaPierre
il 4 Gen 2019
What determines Z in your surface?
Risposta accettata
Più risposte (2)
Cris LaPierre
il 4 Gen 2019
0 voti
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 Commenti
Walter Roberson
il 4 Gen 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
il 4 Gen 2019
Good point!
Don jaya
il 9 Apr 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
il 12 Mag 2020
Don jaya, could you describe what your available inputs are, and what outputs you want?
flemingtb
il 7 Gen 2019
0 voti
3 Commenti
Cris LaPierre
il 7 Gen 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
il 7 Gen 2019
Cris LaPierre
il 7 Gen 2019
See walter's answer.
Categorie
Scopri di più su Process Point Clouds in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!