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 (2024). 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

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0