Prev: tranforming table to matrix
Next: How to compile image processing toolbox mex-files with debug info?
From: matevz pavlic on 15 Jun 2010 08:51 Hi, i am very fresh to MATLAB... I have a CSV file which i imported in Matlab. There are three columns in it. I would like to convert this to matrix so that first column would be i, scond would be j and third would be the value. Is there an easy way to do that? thanks, m
From: Oleg Komarov on 19 Jun 2010 05:27 "matevz pavlic" <matevzpavlic(a)gmail.com> wrote in message <hv7svo$nf6$1(a)fred.mathworks.com>... > Hi, > i am very fresh to MATLAB... > I have a CSV file which i imported in Matlab. There are three columns in it. > I would like to convert this to matrix so that first column would be i, scond would be j and third would be the value. Is there an easy way to do that? > thanks, m Post the result of: whos yourVariable and yourVariable(1:3,:) Oleg
From: us on 19 Jun 2010 10:17
"matevz pavlic" <matevzpavlic(a)gmail.com> wrote in message <hv7svo$nf6$1(a)fred.mathworks.com>... > Hi, > i am very fresh to MATLAB... > I have a CSV file which i imported in Matlab. There are three columns in it. > I would like to convert this to matrix so that first column would be i, scond would be j and third would be the value. Is there an easy way to do that? > thanks, m a hint: help find; % <- look at the various output args... us |