I am creating the two delayed cosine waves in picture 1 on MATLAB using the following script:
clear all
close all
%% Create sinusoidal Wave
fs = 44100;
t = 0:1/fs:2; T =10e-3;
signal = cos(2*pi*t*1/T);
%% Create shifted signal
Delay = 5e-3;
shifted_signal = cos(2*pi*(t-Delay)*1/T);
%% Output signals
soundsc([signal, shifted_signal],fs)
And then I am measuring the output signals on the oscilloscope by connecting my laptop speaker to a custom board and then to the oscilloscope.
This is what is displayed on the oscilloscope.
I don't understand why I cannot see the delay. Can someone explain to me how I can measure the delay on the oscilloscope or if there is a special set up for this? I read several articles in many websites but I haven't solved the problem. The oscilloscope I am using is a keysight infiniivision dsox3024 t