How to delete a column of an array?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
lucca k
el 2 de Nov. de 2015
Comentada: lucca k
el 2 de Nov. de 2015
Hello,
I have a n by 3 single array. As I want to plot just the x and y data, I need to delete the z column in that array. Could you please tell me how that is done?
Thanks in advance!
Lucca
0 comentarios
Respuesta aceptada
Dima Lisin
el 2 de Nov. de 2015
You do not have just an array of points. You have one pointCloud object, which contains an array of x,y,z coordinates in the Location property. So you can do this:
array = ptCloud.Location(:, 1:2);
Más respuestas (1)
Ver también
Categorías
Más información sobre Point Cloud Processing en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!