fix code myson
This commit is contained in:
parent
b5b29f9e86
commit
26707489e0
1 changed files with 2 additions and 32 deletions
|
@ -56,46 +56,16 @@ title('signal fluteircam')
|
|||
% zlabel('amplitudes (u.a.)')
|
||||
% title('Full DSP AR signal fluteircam')
|
||||
|
||||
figure()
|
||||
surf(ttsub,ffsubp,dspsp,'EdgeColor','None');
|
||||
xlabel('temps (s)')
|
||||
ylabel('fréquences (Hz)')
|
||||
zlabel('amplitudes (u.a.)')
|
||||
title('DSP AR signal fluteircam')
|
||||
|
||||
figure()
|
||||
imagesc(ttsub,ffsubp,dspsp)
|
||||
xlabel('temps (s)')
|
||||
ylabel('fréquences (Hz)')
|
||||
ylim([0 600])
|
||||
title('Amplitude DSP AR signal fluteircam')
|
||||
|
||||
figure()
|
||||
surf(ttsub,f,fftsp,'EdgeColor','None');
|
||||
xlabel('temps (s)')
|
||||
ylabel('fréquences (Hz)')
|
||||
zlabel('amplitudes (u.a.)')
|
||||
title('DSP FFT signal fluteircam')
|
||||
|
||||
figure()
|
||||
imagesc(ttsub,f,fftsp)
|
||||
xlabel('temps (s)')
|
||||
ylabel('fréquences (Hz)')
|
||||
ylim([0 600])
|
||||
title('Amplitude DSP FFT signal fluteircam')
|
||||
|
||||
|
||||
% take max amplitude frequency
|
||||
[maxDspsp, maxIndDspsp] = max(dspsp);
|
||||
maxFfsubp = ffsubp(maxIndDspsp);
|
||||
figure
|
||||
plot(ttsub,maxFfsubp)
|
||||
xlabel('temps (s)')
|
||||
ylabel('fréquences (Hz)')
|
||||
title('Frequency max DSP AR signal fluteircam')
|
||||
|
||||
[maxFftsp, maxIndFftsp] = max(fftsp);
|
||||
maxF = f(maxIndFftsp);
|
||||
figure
|
||||
plot(ttsub,maxF)
|
||||
xlabel('temps (s)')
|
||||
ylabel('fréquences (Hz)')
|
||||
title('Frequency max DSP FFT signal fluteircam')
|
Loading…
Reference in a new issue