Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

MATLAB 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

MATLAB

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

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: I. Total # of rides 2. Average duration of a ride, in seconds 3. Average percentage of riders, per gender 4. Average age of riders, per gender 5. Histogram of ride duration, total and per gender 6. Total # of rides starting and ending at a given station 7. The station with the most rides starting, and ending Submissions will be collected via zybooks section 25.11 in the cs109 zybook or 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: the id of the station where the ride started, the id of the station where the ride ended, the bike id, ride duration, etc. Here's the actual file format 66,171,5292,23,857,1989,1 81,172,242,22,1303,0,0 81,172,182,22,1376,0,0 176,74,1252,21,595,1986,1 Each line represents one Divvy trip, and consists of 7 values: integer, id of station where bike was checked out /ride started integer, id of station where bike was returned/ride ended integer the hour, in military time, of when the ride started (e.g.0->midnight and 2311pm) integer, in seconds From station id To station id: Bike id: Starting hour: Trip duration: 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: I. Total # of rides 2. Average duration of a ride, in seconds 3. Average percentage of riders, per gender 4. Average age of riders, per gender 5. Histogram of ride duration, total and per gender 6. Total # of rides starting and ending at a given station 7. The station with the most rides starting, and ending Submissions will be collected via zybooks section 25.11 in the cs109 zybook or 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: the id of the station where the ride started, the id of the station where the ride ended, the bike id, ride duration, etc. Here's the actual file format 66,171,5292,23,857,1989,1 81,172,242,22,1303,0,0 81,172,182,22,1376,0,0 176,74,1252,21,595,1986,1 Each line represents one Divvy trip, and consists of 7 values: integer, id of station where bike was checked out /ride started integer, id of station where bike was returned/ride ended integer the hour, in military time, of when the ride started (e.g.0->midnight and 2311pm) integer, in seconds From station id To station id: Bike id: Starting hour: Trip duration

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Security

Authors: Alfred Basta, Melissa Zgola

1st Edition

1435453905, 978-1435453906

More Books

Students also viewed these Databases questions

Question

How many Tables Will Base HCMSs typically have? Why?

Answered: 1 week ago

Question

What is the process of normalization?

Answered: 1 week ago