Question: determine the absolute acceleration and one where the constant offset due to gravity is removed. Matlab. A=dlmread('HW3_20steps.txt'); x=A(:,2); y=A(:,3); y2=A(:,4); plot(x) hold on; plot(y) plot(y2)
determine the absolute acceleration and one where the constant offset due to gravity is removed. Matlab.
A=dlmread('HW3_20steps.txt');
x=A(:,2);
y=A(:,3);
y2=A(:,4);
plot(x)
hold on;
plot(y)
plot(y2)
legend('x','y','z')
xlabel('time')
ylabel('Acceleration')
data
0.0000000e+00 -1.2389994e-01 1.3928268e+00 9.5474777e+00 9.9999905e-03 -1.2389994e-01 1.3928268e+00 9.5474777e+00 1.8999815e-02 -2.0530279e-01 1.4191631e+00 9.4888201e+00 2.8999805e-02 -2.2325931e-01 1.4293385e+00 9.4325562e+00 3.7999868e-02 -2.1368250e-01 1.3958195e+00 9.4576950e+00 4.7999859e-02 -1.9333179e-01 1.3772645e+00 9.4325562e+00 5.6999922e-02 -1.6998832e-01 1.3682863e+00 9.3894606e+00 6.6999912e-02 -1.6879122e-01 1.3569138e+00 9.3918543e+00 7.5999975e-02 -1.1971009e-01 1.3138182e+00 9.4331551e+00 8.5999966e-02 -1.1552023e-01 1.2892777e+00 9.4912138e+00 9.4999790e-02 -1.1013328e-01 1.2826935e+00 9.5540619e+00 1.0499978e-01 -1.2389994e-01 1.2838906e+00 9.5624418e+00 1.1399984e-01 -1.4903906e-01 1.2162545e+00 9.5618429e+00 1.2399983e-01 -1.7657238e-01 1.2084733e+00 9.5133600e+00 1.3299990e-01 -2.0470424e-01 1.2150574e+00 9.4726591e+00 1.4299989e-01 -2.1727380e-01 1.2000936e+00 9.4493160e+00 1.5199995e-01 -2.0111294e-01 1.1839328e+00 9.4151983e+00 1.6199994e-01 -2.0171149e-01 1.1414356e+00 9.4337530e+00 1.7100000e-01 -1.5861586e-01 1.1162965e+00 9.4642792e+00 1.8099999e-01 -1.8555063e-01 1.1049241e+00 9.4744549e+00 1.8999982e-01 -2.0530279e-01 1.1079168e+00 9.4954042e+00 1.9999981e-01 -2.2984336e-01 1.1240777e+00 9.4942064e+00 2.0899987e-01 -2.6934770e-01 1.1282675e+00 9.4636812e+00 2.1899986e-01 -2.8431144e-01 1.1420342e+00 9.4511108e+00 2.2799993e-01 -2.8191724e-01 1.1342530e+00 9.4660749e+00 2.3799992e-01 -2.6994625e-01 1.1360487e+00 9.4181910e+00 2.4699998e-01 -2.4839842e-01 1.1085154e+00 9.3930521e+00 2.5699997e-01 -2.2685061e-01 1.1270704e+00 9.3852711e+00 2.6599979e-01 -2.4420857e-01 1.1115081e+00 9.3511534e+00 2.7599978e-01 -2.5977087e-01 1.0702082e+00 9.3260145e+00 2.8499985e-01 -3.1902736e-01 1.1318588e+00 9.2781305e+00 2.9499984e-01 -3.4715924e-01 1.1049241e+00 9.3092546e+00 3.0399990e-01 -4.1060558e-01 1.1043255e+00 9.2523928e+00 3.1399989e-01 -4.3215340e-01 1.1133038e+00 9.2643633e+00 3.2299995e-01 -4.4711718e-01 1.0702082e+00 9.3511534e+00 3.3299994e-01 -4.6148238e-01 1.0875661e+00 9.4175920e+00 3.4200001e-01 -4.4412440e-01 1.0917560e+00 9.4181910e+00 3.5099983e-01 -4.3873745e-01 1.0887632e+00 9.4499140e+00 3.5999990e-01 -4.1838676e-01 1.0809821e+00 9.4475203e+00 3.6999989e-01 -4.0821138e-01 1.0714053e+00 9.4062195e+00 3.7899995e-01 -3.8726214e-01 1.1139023e+00 9.4140015e+00 3.8899994e-01 -3.8666359e-01 1.1402385e+00 9.4319572e+00 3.9800000e-01 -3.4835634e-01 1.1366472e+00 9.4702644e+00 4.0799999e-01 -3.3159694e-01 1.1342530e+00 9.4846296e+00 4.1699982e-01 -3.1663316e-01 1.1420342e+00 9.5091705e+00 4.2699981e-01 -3.4536359e-01 1.1312603e+00 9.5402956e+00 4.3599987e-01 -3.6332011e-01 1.1522095e+00 9.5432882e+00 4.4599986e-01 -3.7349546e-01 1.1121067e+00 9.5492735e+00 4.5499992e-01 -3.9564183e-01 1.1031284e+00 9.5875807e+00 4.6499991e-01 -3.6810851e-01 1.1240777e+00 9.5732155e+00 4.7399998e-01 -3.4476504e-01 1.0875661e+00 9.5851870e+00
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
