plot the hanning window
This commit is contained in:
parent
fb5b7130c5
commit
027a6aa0c1
2
main.m
2
main.m
|
|
@ -43,7 +43,7 @@ duration_signal = length(filteredSignal) / Fs;
|
|||
win_duration = 2; % seconds
|
||||
|
||||
% === 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);
|
||||
|
||||
% === Plot raw vs windowed ===
|
||||
|
|
|
|||
Loading…
Reference in New Issue