Question: # Q2 Your colleague has sent some data for you to analyze. When you open # the zip file, you see he uses MatLab, and

# Q2 Your colleague has sent some data for you to analyze. When you open # the zip file, you see he uses MatLab, and has sent you ".mat" files. # How uncivilied. FIGURE OUT HOW TO READ IN THIS DATA. # # When you inspect the data you notice it is 3-dimentional, explaining # why he didn't just send you .csv files. # USING PYTHON: # 1. Read in the three MatLab files. # 2. Save all data into a compressed ".npz" format. Your file should # be named "vectors.npz" and saved into the "matlab_data" folder. # 3. Load the npz file & load saved vectors. (find online examples) # 4. You have been told the u, v, w are components of vectors which # point in x, y, z space respectively. # How many vectors are there total? Save you answer to a variable # named "number_of_vectors" in the function, then print it. # 5. Your function should "return (u, v, w)"

The files are called u, v, and w. This is in python.

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 Databases Questions!