From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 291/CH2/EX2.3h/eg2_3h.sce | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 291/CH2/EX2.3h/eg2_3h.sce (limited to '291/CH2/EX2.3h/eg2_3h.sce') diff --git a/291/CH2/EX2.3h/eg2_3h.sce b/291/CH2/EX2.3h/eg2_3h.sce new file mode 100755 index 000000000..c53f0e223 --- /dev/null +++ b/291/CH2/EX2.3h/eg2_3h.sce @@ -0,0 +1,5 @@ +population = [7333253 3448613 2731743 1702086 1524249 1151977 1048949 1022830 998905 992038 816884 752279 734676 702979 665070 635913 617044 614289 579307 567094 547727 520947 514013 504505 493559]; +disp(perctl(population, 10), "The sample 10 percentile is") +disp(perctl(population, 80), "The sample 80 percentile is") +disp(perctl(population, 50), "The sample 80 percentile is") +disp(median(population), "The median is") \ No newline at end of file -- cgit