Quantcast
Channel: MATLAB Central Newsreader - tag:"table"
Viewing all articles
Browse latest Browse all 48

Re: Convert Table or Matrix with coordinate type to pointcloud

$
0
0
"dpb" wrote in message <nku99a$p29$1@dont-email.me>...
> On 06/28/2016 10:27 AM, Dayun Jin wrote:
> > Our goal is to create a point cloud. After searching through the
> > documentation, we found pointCloud(xyzpoints) to be a function to create
> > point clouds. However, how does one manage to create an object/variable
> > that matches xyzpoints. xyzpoints is defined as " M-by-3 or an
> > M-by-N-by-3 matrix". The matrix that we have is M by 3.(Assuming M can
> > be any number.)
> > The matrices that we create are all double type (which can convert to
> > single), but they don't work with the function.
> ...
>
> Well, for what precise definition of "don't work"? Show us a sample
> input, the call and the result. If an error, include by cut 'n paste
> _all_ the red text.
>
>
> You _do_ have R2015a or later, I presume? (Wasn't introduced 'til then,
> altho online doc is for latest version so possible to see it but not
> have the function...)
>
> --

>> C = pointCloud(B)
<red>Undefined function 'pointCloud' for input arguments of type 'single'.</red>
 
>> C = pointCloud(dcl2Frame1)
<red>Undefined function 'pointCloud' for input arguments of type 'double'.</red>

the inputs are matrices with the coordinate data. I have R2013b.

Viewing all articles
Browse latest Browse all 48

Trending Articles