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...)
--
> 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...)
--