Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1 Loading in Data &Creating a Fiqure a. Load in the.txt data file by typing in load 'Lab1data.txt within the MATLAB command window; make sure

image text in transcribed
1 Loading in Data &Creating a Fiqure a. Load in the.txt data file by typing in load 'Lab1data.txt within the MATLAB command window; make sure that the appropriate directory is selected, otherwise, you will get an error message. b. Once the data is loaded in label the 1st column as sample, 2nd column as time, and 3rd column as the AP COP by typing the following (Note: the "below means all the rows for the specified column): %Labeling columns sample = Lab!data (:1); time = Labi data (: ,2); APCOP Lab1data (:,3); Problem 4. What sampling rate was used to acquire the data? Problem 5. Create a figure showing AP COP (cm) as a function of time (s). Label the x-axis as time(s), and y-axis as 'AP COP (cm). B.1 Computing the Mean Maximum Minimum, and Standard Deviations Problem 6. Using the MATLAB built-in functions, compute the following on the APCOP (below). Hint: In the command prompt, you can type in 'help mean', etc and MATLAB will give you an example of how to write the code. a. Mearn b. maximum value c. minimum value d. standard deviation 1 Loading in Data &Creating a Fiqure a. Load in the.txt data file by typing in load 'Lab1data.txt within the MATLAB command window; make sure that the appropriate directory is selected, otherwise, you will get an error message. b. Once the data is loaded in label the 1st column as sample, 2nd column as time, and 3rd column as the AP COP by typing the following (Note: the "below means all the rows for the specified column): %Labeling columns sample = Lab!data (:1); time = Labi data (: ,2); APCOP Lab1data (:,3); Problem 4. What sampling rate was used to acquire the data? Problem 5. Create a figure showing AP COP (cm) as a function of time (s). Label the x-axis as time(s), and y-axis as 'AP COP (cm). B.1 Computing the Mean Maximum Minimum, and Standard Deviations Problem 6. Using the MATLAB built-in functions, compute the following on the APCOP (below). Hint: In the command prompt, you can type in 'help mean', etc and MATLAB will give you an example of how to write the code. a. Mearn b. maximum value c. minimum value d. standard deviation

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

Calculate the number of atoms per cubic meter in Cr?

Answered: 1 week ago

Question

Why does sin 2x + cos2x =1 ?

Answered: 1 week ago

Question

What are DNA and RNA and what is the difference between them?

Answered: 1 week ago

Question

Why do living creatures die? Can it be proved that they are reborn?

Answered: 1 week ago