How to format surface data into XYZ point cloud?
Ältere Kommentare anzeigen
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 Kommentare
Luna
am 4 Jan. 2019
Could you please share your .csv file and what have you done so far?
Walter Roberson
am 4 Jan. 2019
Bearbeitet: Walter Roberson
am 5 Jan. 2019
to confirm you want a 3d pointcloud with 220 points ?
do you have the marginal coordinates , 10 y and 22 x?
Cris LaPierre
am 4 Jan. 2019
What determines Z in your surface?
Akzeptierte Antwort
Weitere Antworten (2)
Cris LaPierre
am 4 Jan. 2019
0 Stimmen
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 Kommentare
Walter Roberson
am 4 Jan. 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
am 4 Jan. 2019
Good point!
Don jaya
am 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
am 12 Mai 2020
Don jaya, could you describe what your available inputs are, and what outputs you want?
flemingtb
am 7 Jan. 2019
0 Stimmen
3 Kommentare
Cris LaPierre
am 7 Jan. 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
am 7 Jan. 2019
Cris LaPierre
am 7 Jan. 2019
See walter's answer.
Kategorien
Mehr zu Point Cloud Processing finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!