**MATLAB
8)The structure for students' quiz data for a class is organizedas below
write a script to print the students' data by ascending order ofID number. The index vector method must be used and the MATLABfunctions for sorting CANNOT be used.
9)In a physics measurement, the density of the water is measuredat different depth. Here are the depth vector and densityvector.
depth=[100,200,300,400,500]
density=[6.1,6.9,8.0,8.8,10.2]
USE polyfit to fit the data with 1,2, and 3 degree curves anduse subplot to over plot your fitting curves on your originaldata.