| Description:
Arbitrarily choose a row of raw_data, call it
data_point. We want to readjust con_data so that
it contains exactly what it would contain if data_point had
not been in file1A.dat (or file1B.dat if you must)
in the first place.
Problem: Write a Matlab function, call it prob2, that takes as input a row (data_point) from raw_data and the matrix con_data and returns a modified con_data whose elements have values they would have had if the data point corresponding to data_point had not been in file1A.dat (or file1B.dat) in the first place. Sample Output: If invoked as follows:
con_data = prob2(raw_data(1,:),con_data)
where con_data is:
1 0 1 0 1
0 1 0 1 1
1 0 1 1 1
0 1 1 1 1
1 1 1 1 1
the output should be
con_data =
1 0 0 0 1
0 1 0 1 1
0 0 1 1 1
0 1 1 1 1
1 1 1 1 1
|