Update 'speech_analysis.m'
This commit is contained in:
parent
7ecd9426db
commit
f987e91c1b
|
|
@ -3,7 +3,6 @@ pkg load signal
|
||||||
audiowrite('outmodulator22.wav',y,fs/2);
|
audiowrite('outmodulator22.wav',y,fs/2);
|
||||||
n = length(y);
|
n = length(y);
|
||||||
t=0:1/fs:(n-1)/fs; % time range
|
t=0:1/fs:(n-1)/fs; % time range
|
||||||
<<<<<<< HEAD
|
|
||||||
figure;
|
figure;
|
||||||
plot(t,y);
|
plot(t,y);
|
||||||
xlabel('time (s)');
|
xlabel('time (s)');
|
||||||
|
|
@ -13,7 +12,7 @@ ylabel('amplitude');
|
||||||
[power,duration]=frequencySpectrum(y, fs, false);
|
[power,duration]=frequencySpectrum(y, fs, false);
|
||||||
figure;
|
figure;
|
||||||
plot(duration,power);
|
plot(duration,power);
|
||||||
=======
|
|
||||||
i=1;
|
i=1;
|
||||||
ldft=[];
|
ldft=[];
|
||||||
while (i<6)
|
while (i<6)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue