a= textread('GreatExpectations.txt','%c'); [m]=length(a); most_used_letter=char(mode(0+a))
MATLAB: How to get the least used character in the text file
mode
mode
a= textread('GreatExpectations.txt','%c'); [m]=length(a); most_used_letter=char(mode(0+a))
Best Answer