I have tested several functions, for example "normnd.m". Although it computed the whole point cloud normal, I need the normal vector for each point cloud.
you can calculate the normal vector for each point in a point cloud, using cloud compare software. Then export new point cloud. Nx, Ny and Nz are new columns for your point cloud data.
Also, you can calculate roughness and curvature for each point with this software.