Zipf's Law
Version 1.0.0.0 (1.63 KB) by
Nabin
Demonstrates Zipf's Law for the use of letters in Literature.
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 LinuxCategories
- AI and Statistics > Statistics and Machine Learning Toolbox > Descriptive Statistics and Visualization >
Find more on Descriptive Statistics and Visualization in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
