Question: IN MATLAB PLEASE hope you can copy and paste this 23 5292 857 66 171 1 1989 22 242 1303 81 172 0 0 22
IN MATLAB PLEASE hope you can copy and paste this
23 5292 857 66 171 1 1989 22 242 1303 81 172 0 0 22 182 1376 81 172 0 0 21 1252 595 176 74 1 1986 21 2773 636 216 502 1 1983 21 2431 964 35 2 0 0 20 2967 612 331 28 2 1970 20 5498 984 344 299 1 1966 20 2741 1093 36 43 0 0 20 561 1091 36 43 0 0 19 141 296 110 142 1 1986 19 2333 647 434 129 2 1992 19 2040 182 220 156 1 1992 19 3307 415 62 255 1 1979 19 3916 267 108 241 1 1989 19 2954 235 205 129 2 1982 18 2055 269 24 161 1 1981 18 5171 401 89 108 1 1990 18 5867 348 305 210 1 1990 18 3453 237 145 199 0 0 18 986 565 173 337 1 1983 18 3139 779 426 419 1 1997 18 4164 1062 225 199 1 1981 18 5536 347 59 273 1 1983 18 4725 697 89 181 1 1987 18 4408 378 25 199 1 1990 18 5634 915 33 35 1 1982 18 5232 185 349 67 1 1997 18 4822 271 176 359 0 0 18 4566 277 176 359 1 1970 17 4401 193 399 397 1 1963 17 1183 713 37 77 1 1962 17 1538 505 110 176 1 1988 17 2786 868 141 343 2 1958 17 4060 178 423 248 1 1980 17 858 338 181 84 2 1986 17 4503 529 133 217 1 1985 17 3543 129 175 41 1 1975 17 5495 1776 88 300 1 1955 17 4694 596 61 60 1 1993 17 3120 265 242 464 1 1973 17 5534 424 51 74 1 1973 17 2159 465 285 130 1 1987 17 2345 739 192 110 1 1985 17 1777 336 233 192 1 1993 17 4480 178 294 463 2 1982 17 5780 281 96 88 1 1973 17 3242 1419 75 77 1 1987 17 3425 327 420 426 1 1954 17 3444 3261 66 66 0 0 16 4822 379 414 191 1 1970 16 2577 177 69 219 1 1978 16 884 172 69 159 2 1991 16 2629 249 49 174 1 1975 16 94 230 87 127 2 1988 16 206 277 195 44 1 1962 16 1236 747 194 59 1 1980 16 1068 299 344 462 1 1982 16 5904 1056 305 182 1 1989 16 4707 2065 3 145 0 0 16 2447 1297 117 499 1 1986 16 2150 2120 3 145 0 0 15 2016 654 125 50 1 1968 15 1521 4846 3 342 0 0 15 5594 206 325 344 1 1990 15 4891 4863 3 342 0 0 15 1871 607 40 346 1 1975 15 2465 4875 3 342 0 0 15 3386 2744 112 499 2 1994 15 2346 301 170 120 1 1977 14 2465 369 76 3 0 0 14 3453 149 74 133 2 1981 14 2438 758 21 202 1 1995 14 4784 578 50 26 1 1994 14 2571 1086 106 75 1 1958 14 5742 1180 191 94 1 1978 14 2641 666 77 59 1 1989 14 2941 865 211 192 1 1959 13 474 641 359 211 1 1990 13 1542 392 211 176 1 1990 13 5385 195 320 32 1 1967 13 4994 366 81 286 1 1986 13 5742 206 66 191 1 1985 13 3841 284 197 195 1 1987 13 3489 541 402 262 1 1988 13 1733 404 123 260 1 1992 13 694 196 96 233 1 1942 13 4578 610 532 609 1 1990 13 2980 342 283 91 1 1983 13 1256 1608 300 88 1 1955 12 4578 623 609 532 1 1990 12 3911 20221 52 39 1 1971 12 5241 317 17 69 1 1974 12 5078 243 98 50 1 1984 12 2358 658 486 227 1 1990 12 1963 467 349 141 2 1963 12 1304 537 227 314 2 1992 12 4783 176 48 359 1 1987 12 5471 683 138 113 1 1987 12 713 388 181 264 1 1978 12 2283 542 611 615 0 0 12 4753 734 413 420 2 1986 12 3871 400 337 211 1 1977 12 142 744 346 49 1 1963 12 2646 867 77 202 1 1984 12 1925 297 241 32 1 1990 12 2334 859 4 39 2 1987 11 1354 1646 35 62 2 1987 11 2585 200 322 121 1 1989 11 3632 195 286 49 1 1977 11 1646 894 315 91 1 1970 11 1408 266 100 66 1 1989 11 5106 1195 4 7 1 1980 10 5368 427 340 117 1 1980 10 5097 408 456 458 1 1974 10 3749 519 364 47 2 1977 10 3122 872 459 344 1 1965 10 512 760 52 100 1 1981 10 202 607 460 465 2 1988 10 2396 391 359 100 1 1979 10 1904 710 277 199 1 1989 10 2017 395 240 117 1 1982 10 3733 612 76 97 0 0 10 5266 627 76 97 0 0 10 2961 215 292 314 1 1984 10 3943 411 36 134 1 1961 10 5194 991 343 85 1 1978 10 3596 524 260 258 1 1981 10 4063 634 6 6 2 1964 10 5499 752 303 231 1 1950 10 889 616 6 6 2 1990 10 1082 867 283 211 1 1953 10 5732 107 68 75 1 1959 9 4568 541 328 328 2 1981 9 3378 147 190 166 1 1989 9 357 315 320 342 1 1989 9 5283 1111 61 125 1 1991 9 5862 616 327 94 2 1974 9 1036 761 170 174 1 1982 9 3670 427 321 169 1 1953 9 1222 434 212 47 2 1980 9 510 619 190 327 1 1945 9 527 232 94 118 1 1985 9 5704 540 342 21 2 1982 9 3880 316 283 52 1 1990 9 4783 646 48 198 1 1987 9 1602 549 46 106 2 1956 9 3835 363 194 211 1 1979 9 633 359 181 85 1 1977 9 3532 244 149 184 1 1986 9 1675 152 56 133 1 1993 9 3987 103 213 69 1 1989 9 5487 322 27 48 1 1976 9 1822 228 18 51 2 1963 9 1305 215 51 181 1 1991 9 2592 769 293 311 2 1982 9 947 476 138 143 1 1992 9 4477 866 210 107 1 1990 9 5330 224 57 55 1 1985 9 4090 479 15 241 1 1970 9 1341 254 451 454 1 1991 9 4002 316 93 144 1 1977 9 263 606 476 469 1 1982 9 1966 591 349 319 1 1972 8 4164 676 23 194 1 1991 8 2308 1017 48 286 1 1962 8 3357 351 53 161 2 1987 8 2593 291 43 51 2 1981 8 3077 251 77 112 2 1989 8 2802 1590 126 40 1 1969 8 3933 353 96 36 1 1976 8 3912 640 350 133 1 1978 8 464 872 72 197 2 1969 8 1038 468 117 230 1 1988 8 5282 739 273 287 1 1980 8 3928 435 94 60 1 1990 8 5467 747 310 327 1 1970 8 627 492 190 327 1 1967 8 296 209 347 244 1 1978 8 2327 415 286 81 2 1959 8 5848 183 405 278 0 0 8 4159 516 91 88 1 1988 8 5276 336 77 40 1 1967 8 1771 673 177 334 1 1977 8 5325 564 91 264 1 1978 8 3914 669 130 331 1 1983 8 4646 612 296 254 2 1992 8 1459 218 33 321 1 1992 8 2691 676 216 29 1 1983 8 1934 277 149 148 2 1989 8 5802 413 394 287 1 1987 8 2211 573 394 44 1 1988 8 5675 571 394 44 1 1989 8 3211 316 340 13 2 1989 8 4387 736 22 77 1 1989 8 99 394 2 90 2 1975 8 1897 335 152 327 1 1966 8 4593 918 255 173 2 1981 8 459 1533 69 81 1 1988 8 4755 296 204 422 1 1987 8 4268 782 7 100 0 0 7 3475 204 195 194 2 1989 7 2859 658 153 219 1 1987 7 2608 233 154 117 1 1986 7 2884 358 176 31 1 1993 7 4860 346 88 91 1 1978 7 4571 183 234 238 1 1985 7 2942 232 300 115 1 1989 7 3153 202 620 53 1 1980 7 4479 446 223 152 1 1984 7 5780 334 324 143 2 1980 7 1372 370 52 142 2 1988 7 1009 2473 478 600 2 1987 7 3749 349 176 364 1 1989 7 691 229 198 192 1 1968 7 5525 177 234 238 1 1987 7 4289 364 374 213 1 1981 7 21 970 146 283 1 1975 7 3352 844 597 605 1 1976 7 621 306 276 116 1 1974 6 5078 14401 291 289 2 1985 6 1106 125 156 115 1 1985 6 3616 193 13 67 1 1992 6 4815 1730 9 146 2 1973 6 350 460 58 225 1 1980 6 3967 204 338 72 1 1975 6 3201 261 232 114 2 1956 6 4577 315 131 117 2 1980 5 5378 433 186 198 1 1984 5 5020 900 233 211 1 1973 5 3352 542 522 597 1 1969 5 5536 251 75 66 1 1976 4 4224 709 59 108 1 1991 2 1934 360 148 149 0 0 1 5813 212 321 59 1 1992 1 5451 974 364 36 1 1958 0 3184 533 260 490 1 1982 0 4440 296 520 523 1 1968 0 4423 831 213 260 2 1987 0 2829 851 213 260 1 1982 0 4768 423 125 35 0 0 0 4452 509 172 331 1 1979 0 3248 371 349 190 1 1992





Divvy is a well-known bike sharing system in Chicago. The company makes data available1 about their stations, ridership, etc. The assignment is to perform some basic analysis of their ridership data. In particular, your task is to write functions that perform the following four analyses 1. Average ride duration 2. Average rider age 3. Histogram of ride duration 4. Histogram of ride start times Submissions will be collected via zybooks section 25.11 in the cs109 zybook (section 8.11 in the cs110 zybook) You can work in MATLAB, Octave, or zybooks for this project. Data files The input file is a CSV file ("comma-separated values") that contains ridership data. Each line of the file contains information about one particular ride: when the trip started, the bike id, the id of the station where the ride started, the id of the station where the ride ended, etc. Here's the actual file format 23,5292,857,66,171,1,1989 22,242,1303,81,172,0,0 22,182,1376,81,172,2,1998 21,1252, 595,176,74,1,1986 CS 109: http:.f/www.joehummelnet/cs109.ht Page of6 Each line represents one Divvy trip, and consists of 7 values the hour, in military time, of when the ride started (e.g. 1->1am and 23-> 11pm) integer integer, in seconds integer, id of station where bike was checked out integer, id of station where bike was returned 0-unknown, 1-> male, 2->female 0=> unknown, otherwise year that rider was born (e.g. 1986) . Starting hour: . Bike id Trip duration: From station id To station id . Gender Birth year
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
