Answered step by step
Verified Expert Solution
Question
1 Approved Answer
IN MATLAB PLEASE Divvy is a well-known bike sharing system in Chicago. The company makes data available1 about their stations, ridership, etc. The assignment is
IN MATLAB PLEASE
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 yearStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started