mirror of
https://github.com/supleed2/ELEC60013-ES-CW1.git
synced 2024-11-10 01:35:50 +00:00
14 lines
232 B
Mathematica
14 lines
232 B
Mathematica
|
A = importdata('output_01_03_2022_14_35_09.txt');
|
||
|
X = A.data(:,1);
|
||
|
Y = A.data(:,2);
|
||
|
Z = A.data(:,3);
|
||
|
|
||
|
time = linspace(0,length(X)*0.1,length(X));
|
||
|
|
||
|
figure
|
||
|
plot(time,X,time,Y,time,Z)
|
||
|
|
||
|
sum = sqrt(X.^2+Y.^2+Z.^2);
|
||
|
|
||
|
figure
|
||
|
plot(time,sum)
|