28.12.2012 Views

Figure Properties - SERC

Figure Properties - SERC

Figure Properties - SERC

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Example Read FITS file tst0012.fits into a 109-by-102 matrix called data.<br />

See Also fitsinfo<br />

data = fitsread('tst0012.fits');<br />

whos data<br />

Name Size Bytes Class<br />

data 109x102 88944 double array<br />

Here is the beginning of the data read from the file.<br />

data(1:5,1:6)<br />

ans =<br />

135.2000 134.9436 134.1752 132.8980 131.1165 128.8378<br />

137.1568 134.9436 134.1752 132.8989 131.1167 126.3343<br />

135.9946 134.9437 134.1752 132.8989 131.1185 128.1711<br />

134.0093 134.9440 134.1749 132.8983 131.1201 126.3349<br />

131.5855 134.9439 134.1749 132.8989 131.1204 126.3356<br />

Read only the Binary Table extension from the file.<br />

data = fitsread('tst0012.fits', 'bintable')<br />

fitsread<br />

data =<br />

Columns 1 through 4<br />

{11x1 cell} [11x1 int16] [11x3 uint8] [11x2 double]<br />

Columns 5 through 9<br />

[11x3 cell] {11x1 cell} [11x1 int8] {11x1 cell} [11x3 int32]<br />

Columns 10 through 13<br />

[11x2 int32] [11x2 single] [11x1 double] [11x1 uint8]<br />

2-849

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!