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 descargas
Actualizado 22 Mar 2020

Ver licencia

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.

Citar como

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

Compatibilidad con la versión de MATLAB
Se creó con R2020a
Compatible con cualquier versión desde R2014b hasta R2020a
Compatibilidad con las plataformas
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0.0