creation of code file
This commit is contained in:
parent
6d9a97f8be
commit
c99f4cd218
|
|
@ -0,0 +1,23 @@
|
||||||
|
%%%%%%%%%%%%%%%%
|
||||||
|
%
|
||||||
|
%Author: Gabriel LUCAS
|
||||||
|
%
|
||||||
|
%Creation: 20/04/23 10:08
|
||||||
|
%
|
||||||
|
%Last Modified: 20/04/23 10:08
|
||||||
|
%
|
||||||
|
%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
|
Fs = 300; %Hz
|
||||||
|
|
||||||
|
signal = csvread('unknownsignal.csv');
|
||||||
|
|
||||||
|
signalDuration = size(signal)/Fs; %s
|
||||||
|
t=[0:1/Fs:(size(signal,2)-1)/Fs];
|
||||||
|
|
||||||
|
figure;
|
||||||
|
plot(t,signal)
|
||||||
|
xlabel('Time (s)');
|
||||||
|
ylabel('Sound (dB)');
|
||||||
|
|
||||||
|
|
||||||
Loading…
Reference in New Issue