Hey team,

If I have a matrix:

1, 2,
3, 4,
4, 0,
1, 3,
0, 3

2 columns.

I want to write an if command that looks at (in this case) row 3 and looks
to see if either [3,1] or [3,2] has a zero in it.  IF it does have a zero I
want the zero to be placed in another matrix in the same position.  I know
how to do the latter part, I just can't get the if command to look at both
cells and deal with them separately.

Thanks

-- 
Gareth Campbell
PhD Candidate
The University of Auckland

P +649 815 3670
M +6421 256 3511
E gareth.campbell@esr.cri.nz
gcam032@gmail.com

	[[alternative HTML version deleted]]

