Problem with reading a Data File
- From: "Sanaul Haq" <engrsanaulhaq@xxxxxxxxx>
- Date: Fri, 29 Jun 2007 07:06:09 -0400
Hi,
I got stuck with reading a Data file using matlab which actually
consist of floating point numbers. I think the data which i read
is in Binary format because it doesnot work with Load command.
i am using the following commands to read it.
fid=fopen('filename','r');
A = fread(fid); %(A is displayed as decimal number from 0 to 255)
disp(char(A'));
The last command display the data in rectangular boxes and different
Symbols but doesnot display floating point numbers.
How should i solve this problem.
Sana Khan
.
- Follow-Ups:
- Re: Problem with reading a Data File
- From: Sanaul Haq
- Re: Problem with reading a Data File
- From: Michael Wild
- Re: Problem with reading a Data File
- Prev by Date: Re: Read Data by Usb
- Next by Date: Re: Reading multiple images in a m file
- Previous by thread: nested classes, OOP
- Next by thread: Re: Problem with reading a Data File
- Index(es):
Relevant Pages
|