- ismember
- a tiny example would help us understand
How do I compare Cell to another Cell?
1 view (last 30 days)
Show older comments
So I have to do this task where I pull letters(Grades, in this context) from an excel file and compare another 100 rows to that one row, and check which letters match to the first row of letters(the Answer Key). If the other rows and columns have the same value, it has to display as right or wrong(1,0), then I have to figure out How many questions each person got right, compared to the first row. I've tried multiple things, such as strcmp and cellfun and char, I've read the file in Matlab, but I can't seem to compare these certain letters to the other letters. Any Help is Appreciated.
2 Comments
Stephen23
on 4 Nov 2017
A very neat way to compare variables:
If you need to do this programmatically, then you need to give examples and be much clearer with specifying what inputs and outputs you require.
Answers (0)
See Also
Categories
Find more on Characters and Strings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!