Read variables and draw notepad txt file on Matlab
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Tayfun Çelebi
il 13 Mar 2017
Commentato: Tayfun Çelebi
il 14 Mar 2017
There is a pointcloud.txt and it consist of 123 row and 3 coloumn.(Id x y) Firstly I imported to workspace but i can not draw it.how can I do it.
0 Commenti
Risposta accettata
Walter Roberson
il 13 Mar 2017
Note that you can use pcshow() with an N x 3 matrix of coordinates.
You do not appear to have any z coordinates, so I have to wonder whether you really have a pointcloud. Perhaps you should scatter(x(:), y(:)) ?
6 Commenti
Walter Roberson
il 14 Mar 2017
num = csvread('pointcloud (1).txt', 1, 0);
xyz = num(:, 2:4);
scatter3(xyz(:, 1),xyz(:,2),xyz(:,3))
Più risposte (1)
Vedere anche
Categorie
Scopri di più su Point Cloud Processing in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!