function signal_windowed = applyTemporalwindow(signal,t,win) %{ function signal_windowed = applyTemporalWindow(signal,t,win) Ex: i_rect = applyTemporalWindow(x,t,rect) Task: to apply (to do the multiplication) the windowing on the signal Inputs: -signal: the signal we want to aplly windowing to -t: time vector (in s) -win: type of window Output: amplitude of signal_windowed Author: tikea TE Date: 13/04/2025 %} for I_sample = 1:length(t) signal_windowed(I_sample) = signal(I_sample) * win(I_sample); end