MATLAB: How to read and visualize the lidar data

lidar

Hi All,
My lidar data is in bin file :
Anyone here has any idea how to read my lidar data in MATLAB?

Best Answer

Is this fine?
fid = fopen('n008-2018-08-01-15-16-36-0400__LIDAR_TOP__1533151061547455.pcd.bin', 'r');
data = fread(fid,'single');
fclose(fid);
data = reshape(data,[],2) ;
plot(data(:,1),data(:,2),'.r')