Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
How to load matrix with row numbers as first column?

Subject: How to load matrix with row numbers as first column?

From: Atul.

Date: 25 Apr, 2009 19:32:31

Message: 1 of 1

Hi All,

I plan to load a matrix with row number as first column, I want to
preserve them as I want to cluster the data and then be able to
identify the vectors with their row numbers. I have around 300K
vectors with number in range (0 - 2 Million) so this is basically not
a sequential row number. I am trying to avoid maintaining a array of
original line numbers their indices in to the matrix. Can I load such
data with load or any such variant of it? Something like read.table
method in R.

Regards,
Atul.

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us