Question: Sub - function 1 : C S V - Read This function retrieves the maximum allowable descent velocity, the acceleration due to gravity and the

Sub-function 1: CSV-Read
This function retrieves the maximum allowable descent velocity, the acceleration due to gravity and the air density from a csv file in your current working directory.
[MaxVelocity,g, rho ]= CSV_Read (Filename_csv)
This function must use as input:
Filename_csv, is the full file name "Constants.csv" stored in your working directory.
The function must give as output:
MaxVelocity, the maximum allowable descent velocity.
g a scalar that represents the acceleration due to gravity.
rho a scalar that represents the air density.
Sub-function 2: TerminalVelocities
This function calculates the terminal velocity of each Hit parachute design, removes parachute IDs from the
structure array Properties that do not meet the maximum allowable descent velocity requirement specified in the csv file Constants, and the save the new structure array in Hits.
SafeVelocities = TerminalVelocities (Properties, MaxVelocity, ,, rho)
This function must use as input:
Properties, a nested structure array containing the data of all the relevant data files from Task 1.
MaxVelocity, the maximum allowable descent velocity.
g a scalar that represents the acceleration due to gravity.
rho a scalar that represents the air density.
The function must give as output:
SafeVelocities, a nested structure array containing only parachute designs that meet the velocity requirements specified in Constants. Note: SafeVelocities contains only the parachute designs that meet the maximum allowable descent velocity criteria. An example, of structure array SafeVelocities is below:
Sub - function 1 : C S V - Read This function

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!