Rank: 3194 based on 35 downloads (last 30 days) and 3 files submitted
Personal Profile:

A student


 

Watch this Author's files

 

Files Posted by Suri Like View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
10 Apr 2008 Suri's Sudoku Solver (SSS) My version of the MATLAB Sudoku solver, which employs recursive function to arrive at a solution Author: Suri Like games, sudoku, suri, sss, matlab, recursive algorithm 4 1
09 Apr 2008 wordcount This function reads from a text file and displays the most frequently used words Author: Suri Like statistics, probability, text words count freq..., words count, words frequency 12 8
  • 3.2
3.2 | 5 ratings
31 Mar 2008 Intersect2 Finds the intersection (common elements) of several (more than two) arrays Author: Suri Like intersection, common, intersect, mathematics 19 3
  • 5.0
5.0 | 1 rating
Comments and Ratings on Suri Like's Files View all
Updated File Comment by Comments Rating
10 Nov 2013 wordcount This function reads from a text file and displays the most frequently used words Author: Suri Like aim007 ali

Error: File: wordcount.m Line: 1 Column: 60
Unexpected MATLAB expression.
this error occur when i change results = wordcount('article.txt', 10)
someone pls help which part should i change in this coding

08 Aug 2012 wordcount This function reads from a text file and displays the most frequently used words Author: Suri Like Lee White

WAIT WAIT WAIT!

There is a serious problem with this function. Only one word for each integer frequency will be reported. This means if 'dog' and 'cat' both appear 3 times, only one will be reported.

Check out wordcount2 here on the file exchange for a fixed version.

08 Aug 2012 wordcount This function reads from a text file and displays the most frequently used words Author: Suri Like Lee White

08 Aug 2012 wordcount This function reads from a text file and displays the most frequently used words Author: Suri Like Lee White

The method used to read files is sensetive to the file's machine format and encoding. I tried to read in some files encoded with little endian and it failed. This ended up being due to the text file encoding needing to be ANSI. Not a problem with this function, rather a Matlab fopen problem. Anyway, this may explain some other weird behaviours experienced by users.

The program is pretty easy to follow and debug though.

10 Apr 2012 wordcount This function reads from a text file and displays the most frequently used words Author: Suri Like Ilvana Dzafic

Contact us