Task 3 The following data where obtained from five samples of an unknown substance. The mass and volume are measured in grams and milliliter, respectively. Create a CSV file in Excel using these data and use filename Experiment. Import that data as a table in MATLAB. Display the contents of that table. Mass Volume 1.50 1.80 1.26 1.50 1.36 1.65 1.67 2.00 1.48 1.78 Task 4 Continuing Task 3, append another column to the Experiment table containing the density for each sample in g/mL. Use Density as table variable name for that new column. Create a variable containing the value of the average density; use avgDensity as variable name.
IN MATLAB SOFTWARE
asnwer the task 4 I need the codes to be use
Task 3
The following data where obtained from five samples of an unknown substance. The mass and volume are measured in grams and milliliter, respectively. Create a CSV file in Excel using these data and use filename Experiment. Import that data as a table in MATLAB. Display the contents of that table.
Mass |
Volume |
1.50 |
1.80 |
1.26 |
1.50 |
1.36 |
1.65 |
1.67 |
2.00 |
1.48 |
1.78 |
Task 4
Continuing Task 3, append another column to the Experiment table containing the density for each sample in g/mL. Use Density as table variable name for that new column. Create a variable containing the value of the average density; use avgDensity as variable name.
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 1 images