get the value of excel cell using matlab

i have a excelfile created using matlab which contains 1 column of 1's and 0's... i need to get the value of each cell in the columnwise and compare it to check whether it is 1 or 0 using matlab...can somebody help me

Answers (1)

dat = xlsread('name_your_excel_file');
IndCelOne = find(dat);
IndCelZero = find(~dat);

Tags

Asked:

on 17 Oct 2011

Community Treasure Hunt

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

Start Hunting!