Death ages from Wikipedia

版本 1.0.0 (4.4 KB) 作者: Image Analyst
This program gets the ages of famous dead people from all months in a specified year from Wikipedia and histograms them.
77.0 次下载
更新时间 2020/3/22

查看许可证

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.

引用格式

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

MATLAB 版本兼容性
创建方式 R2020a
兼容 R2014b 到 R2020a 的版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0