To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016
For each word in the email, check whether the word is in the dictionary.
Print out misspelled words.
How can you check whether the word in "sentence.txt" is in "text.txt"?
Also how can you print words not in text.txt file?
There is no one in th hous.
(It should check this sentence to "text.txt" and print out th & hous because it is not in "sentence.txt" file.)
No products are associated with this question.
CStr = textread('sentence.txt', '%s', 'delimiter', '\n') CStr1 = textread('text.txt', '%s', 'delimiter', '\n') contained = ismember(CStr, CStr1) % if ans 1 then it is in text.txt notIndata2 = CStr(~contained) % print those are not in text.txt notIndata2 = CStr(contained) % print those are in text.txt