mirror of
https://github.com/supleed2/ELEC60013-ES-CW1.git
synced 2024-12-22 13:35:48 +00:00
Ignored MATLAB files
This commit is contained in:
parent
298e7660b7
commit
eb0e171a88
5
.gitignore
vendored
5
.gitignore
vendored
|
@ -152,4 +152,7 @@ cython_debug/
|
|||
#.idea/
|
||||
|
||||
# VSCode
|
||||
.vscode/
|
||||
.vscode/
|
||||
|
||||
# Matlab files
|
||||
.m
|
14
untitled.m
14
untitled.m
|
@ -1,14 +0,0 @@
|
|||
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)
|
Loading…
Reference in a new issue