フィルターのクリア

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