Hi, I have a cell array "P" of size 2000 by 20. Each cell value is either "Yes" or "No". How can I make a new cell array "vote" of size 2000 by 1 that each cell contains the most frequent word of each row in P?
MATLAB: Most frequent word in cell array
cell arraysText Analytics Toolboxword count
Related Question
- How to convert categorical array contains ‘yes’ or ‘no’ to logical array
- Is it possible to create a histogram with fractional entries for each bin
- Convert a cell of ‘yes’ and ‘no’ into array of 1 and 0
- How to read a complex alphanumeric string or cell
- How can i compare two string matrix with conditions
- How to set table VariableNames from a cell
Best Answer