plot the hanning window

This commit is contained in:
Tikea TE 2025-04-16 15:43:35 +02:00
parent fb5b7130c5
commit 027a6aa0c1
1 changed files with 1 additions and 1 deletions

2
main.m
View File

@ -43,7 +43,7 @@ duration_signal = length(filteredSignal) / Fs;
win_duration = 2; % seconds win_duration = 2; % seconds
% === Create and apply Hanning window === % === Create and apply Hanning window ===
win_hanning = createTemporalWindow(t, duration_signal, win_duration, Fs, 2); win_hanning = createtemporalWindow(t, duration_signal, win_duration, Fs, 2);
x_hanning = applyTemporalwindow(filteredSignal, t, win_hanning); x_hanning = applyTemporalwindow(filteredSignal, t, win_hanning);
% === Plot raw vs windowed === % === Plot raw vs windowed ===