Help defining this variable?

5 views (last 30 days)
Dustin
Dustin on 25 Jun 2014
Answered: dpb on 25 Jun 2014
There is a set of data with 5 columns and column 2 is bacteria1 column 3 is bacteria2. How would you make a variable holding the data from columns 2 and 3 in the same defining variable not two different ones?

Answers (1)

dpb
dpb on 25 Jun 2014
bac12=data(:,2:3);

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!