I have a data set file that has 3 columns in it.
0 0 1
1 0 0
0 1 0
I have the loaded the data file into the matlab and now I want to check for which column the output "1" is present. The name of the file is: out.data
Like in the first case- the "1" is present in the column 3rd. How do I write it in matlab?