Loading files

I have the files with extensions .3dd,.pgm and .ascii and i want to load these files in matlab. Please help how can i do that.
Thanks

답변 (2개)

Sarah Wait Zaranek
Sarah Wait Zaranek 2011년 3월 31일

0 개 추천

I find this chart helpful. It lists the file types that core MATLAB can read/write and what functions to use.
As to your specific question, core MATLAB can read .ascii and .pgm.
I don't think .3dd is supported out of the box.

댓글 수: 2

developer
developer 2011년 3월 31일
Thanks actually i have seen this before and it contain PGM but not ASCII
Sarah Wait Zaranek
Sarah Wait Zaranek 2011년 4월 1일
ascii can be read with any of the text readers --- click on the documentation of that function to find out more. Most do it out of the box, but load requires letting it know it is ascii and not a mat-file.

댓글을 달려면 로그인하십시오.

Walter Roberson
Walter Roberson 2011년 3월 31일

0 개 추천

Which .3dd format? There are at least three of them. Are you referring to the one used for some mapping software ?

댓글 수: 2

developer
developer 2011년 3월 31일
Yes actually i want to use a 3D laser scanner data to apply 3D SLAM(Simultaneous Localization & Mapping) technique.
So the sensor is giving me frames in ascii, pgm and 3dd extensions and i want to use these files in matlab
Walter Roberson
Walter Roberson 2011년 3월 31일
Session 2 of the below should have relevant MATLAB code, but not necessarily for those file formats
http://www.robots.ox.ac.uk/~SSS06/Website/index.html

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Workspace Variables and MAT Files에 대해 자세히 알아보기

질문:

2011년 3월 31일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by