This exercise is intended to build upon the MATLAB Onramp training you have already completed.
Objective: Your task will be to develop MATLAB code that will i) read the information in the file into arrays / vectors / matrices, ii) use this information to estimate the density (of water) when the temperature and pressure is specified, and iii) demonstrate the use of your MATLAB property lookup procedure by programmatically preparing a graph of estimated liquid water density values for a suitable range of temperatures (your choice) and a pressure of 101.325 kPa.
Supplied data: A data file: ‘water density.csv’ is supplied for your use. In the file containing precomputed water density values the first row in the file is the pressure in kPa and the first column is the temperature in K. The water density values in the remaining rows/columns are in kg/m3. As you might expect, these are all around 1000 kg/m3.