Zipf's Law

Version 1.0.0.0 (1.63 KB) by Nabin
Demonstrates Zipf's Law for the use of letters in Literature.
1.2K Downloads
Updated 18 Mar 2010

View License

Occurrence of Zipf's Law in Literatute is demonstrated with the help of this file.

The top ten words of "The Adventures of Sherlock Holmes by Sir Arthur Conan Doyle" are listed below:

'the'
'I'
'and'
'to'
'of'
'a'
'in'
'that'
'was'
'it'

Ref:
[Holmes] http://www.gutenberg.org/etext/1661
[Zipfs] http://en.wikipedia.org/wiki/Zipf%27s_law

Cite As

Nabin (2026). Zipf's Law (https://www.mathworks.com/matlabcentral/fileexchange/27013-zipf-s-law), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Descriptive Statistics and Visualization in Help Center and MATLAB Answers
Version Published Release Notes
1.0.0.0