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

A student

Professional Interests:
operations research

 

Watch this Author's files

 

Files Posted by Suri 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 12 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 20 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 12 3
  • 5.0
5.0 | 1 rating
Comments and Ratings on Suri'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 ali, aim007

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 White, Lee

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 White, Lee

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

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 Dzafic, Ilvana

Contact us