MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayMATLAB Central > MATLAB Newsreader > cross referencing columns and matrices 

Subject: cross referencing columns and matrices From: Pr B Date: 20 Feb, 2009 21:46:02 Message: 1 of 8 
i have four column vectors of length ~11000 (table1): 
Subject: cross referencing columns and matrices From: Pr B Date: 21 Feb, 2009 00:00:05 Message: 2 of 8 
clarification: 
Subject: cross referencing columns and matrices From: Pr B Date: 21 Feb, 2009 02:45:04 Message: 3 of 8 
for i = 1: size(table1,1) 
Subject: cross referencing columns and matrices From: Roger Stafford Date: 21 Feb, 2009 12:53:01 Message: 4 of 8 
"Pr B" <pb2297@columbia.edu> wrote in message <gnn8aq$9sn$1@fred.mathworks.com>... 
Subject: cross referencing columns and matrices From: Pr B Date: 21 Feb, 2009 17:22:02 Message: 5 of 8 
hi roger, thanks for your reply. 
Subject: cross referencing columns and matrices From: Pr B Date: 21 Feb, 2009 17:39:01 Message: 6 of 8 
here's what i assume you mean: 
Subject: cross referencing columns and matrices From: Pr B Date: 21 Feb, 2009 18:53:01 Message: 7 of 8 
ah, i get it. sub2ind is nifty. thanks, roger. 
Subject: cross referencing columns and matrices From: Pr B Date: 23 Feb, 2009 19:28:02 Message: 8 of 8 
how would i go about doing a case by case sum on the results of the table? 
No tags are associated with this thread.
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.