Community Profile

photo

Kelsey


Drexel University

Active since 2013

Statistics

Content Feed

View by

Question


How do I find and display the most frequent word in ALL sentences combined?
if I have 5 sentences (s1, s2, s3, s4, s5) and i put them all into one string (s) using: s=[s1 ' ' s2 ' ' s3 ' ' s4 ' ' s5] ...

10 years ago | 2 answers | 0

2

answers

Question


How can I go through a file, analyze specific words, state which line the those words appear in, which column they start at, and what is the actual line that contains the word?
I have to: 1. Open and read a file. 2. Go through each specific word/phrase I am given (one word is case sensitive, the ot...

10 years ago | 1 answer | 0

1

answer

Question


How can I count, sum, and display the number of special characters in a sentence? (Using for loops/if statements/strcmp/strfind/strread)
I counted the number of characters per sentence, but now I have to count how many special characters are in each sentence (seper...

10 years ago | 1 answer | 0

1

answer