Date: Aug 26, 2013 4:12 PM
Author: dpb
Subject: Re: Importing Data from Excel

On 8/26/2013 2:46 PM, Nicole wrote:
> Hello,
> I have a 3831x12 data set in Excel that I'm trying to import into
> Matlab. I'm trying to plot(x,y) with x being the date (1st column) and y
> being the weight (fourth column). However, each day I have 16 different
> subjects, who each need their weight plotted against the date.
> Therefore, I want to import every 16 cells for y. How can I do this?
> Right now my code is simply:
> x=TrainingDoc(:,1)
> y=TrainingDoc(:,4)
> plot(x,y)


Not clear yet precisely how the data are arranged other than dates are
in column 1 and weights in column 4. Are there thus 16 repeated dates
for the sixteen subjects or some other arrangement?

--