Skip to content

Function 'nanmean' (input argument of type 'single') is undefined. #4

@takeyamayuki

Description

@takeyamayuki

Hi, thank you for the great project.

I followed the README for EventPointPose and while running Generate_DHP19_pointcloud_all_mean.m I got the following error.

Function 'nanmean' (input argument of type 'single') is undefined.

Error: GetPoseLabels (line 4)
    pose(1,:) = nanmean(XYZPOS.XYZPOS.head(last_k:k,:),1);

Error: Generate_DHP19_pointcloud_all_mean (line 260)
                    pose = GetPoseLabels(XYZPOS, last_k, k, is_MeanLabel);

4       pose(1,:) = nanmean(XYZPOS.XYZPOS.head(last_k:k,:),1);

my environment: Windows 11, MATLAB R2022a

How should I deal with this issue?
Thank you in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions