23.12.2012 Views

MATLAB Function Reference Volume 1: A - E - Bad Request

MATLAB Function Reference Volume 1: A - E - Bad Request

MATLAB Function Reference Volume 1: A - E - Bad Request

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

5 10 15 20 25 30<br />

7 14 21 28 35 42<br />

11 22 33 44 55 66<br />

csvread<br />

To read the matrix starting with zero-based row 2, column 0 and assign it to<br />

the variable, m,<br />

m = csvread('csvlist.dat', 2, 0)<br />

m =<br />

5 10 15 20 25 30<br />

7 14 21 28 35 42<br />

11 22 33 44 55 66<br />

To read the matrix bounded by zero-based (2,0) and (3,3) and assign it to m,<br />

m = csvread('csvlist.dat', 2, 0, [2,0,3,3])<br />

m =<br />

5 10 15 20<br />

7 14 21 28<br />

See Also csvwrite, dlmread, textread, wk1read, file formats, importdata, uiimport<br />

2-351

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

Saved successfully!

Ooh no, something went wrong!