creation of code file

This commit is contained in:
Gabri6 2023-04-20 10:25:34 +02:00
parent 6d9a97f8be
commit c99f4cd218
1 changed files with 23 additions and 0 deletions

23
main.m Normal file
View File

@ -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)');