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 ExchangeWorkspace 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