Death ages from Wikipedia

This program gets the ages of famous dead people from all months in a specified year from Wikipedia and histograms them.
77 Downloads
Aktualisiert 22 Mär 2020

Lizenz anzeigen

This program gets the ages of famous dead people from all months in a specified year from Wikipedia and histograms them. It uses the webread() function to read in URLs like this: "https://en.wikipedia.org/wiki/Deaths_in_December_2019". Such pages list the name, age, and (sometimes) the cause of death for people and animals that are well known or in the news for some reason. Then it parses what comes back to discard famous animals, and extract the ages of people. It computes and marks the mean age and median age at time of death for the people.

Then it asks you an age (like your age) and gives you the the age that you'll have a 50% probability of living to. It also prints to the command window those people who were unusually young or old when they died.

Zitieren als

Image Analyst (2024). Death ages from Wikipedia (https://www.mathworks.com/matlabcentral/fileexchange/74664-death-ages-from-wikipedia), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2020a
Kompatibel mit R2014b bis R2020a
Plattform-Kompatibilität
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0