필터 지우기
필터 지우기

HELP please!! pointCloud format

조회 수: 2 (최근 30일)
Márcio Marques
Márcio Marques 2017년 3월 30일
답변: Walter Roberson 2017년 3월 30일
Hello everyone
I need build one pointcloud with 10 lines of values, but i dont know how can i do this.
In the example:
ptCloud = pointCloud (xyzPoints)
I can do:
ptCloud = pointCloud ([2,3,4])
but this form is one line of x, y, z.
And how i can do this for 10 lines of points (x,y,z)?
This is for a standard form:
ptCloud1 = pointCloud (rand (100, 3, 'single'))
Build one table with 200 lines and 3 columns (x, y, z) with rand function.
But I need to insert 10 lines of values (x, y, z) and then build a pointcloud.
Anyone have idea how can i do this?
Thank you very much.

답변 (1개)

Walter Roberson
Walter Roberson 2017년 3월 30일
values = rand(10, 3, 'single');
ptCloud = pointCloud(values);

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by