SUNY Geneseo Department of Mathematics
Wednesday, December 3
Math 230 01
Fall 2014
Prof. Doug Baldwin
function [newMatrix] = select( R, v, c )
n = 1
newMatrix = empty cell array
for i = 1 : number of rows in R
if R(i,c) == v % cell or content index?
newMatrix(n,:) = R(i,:)
n = n + 1
end
end