Search code examples
matlabsynchronizationsignalssignal-processingdelay

how to create a signal consisting of a delay of 1000 samples of zeros?


How to write the MATLAB code

to create a signal consisting of a 'delay' of 1000 samples of zeros, followed by variable which i found in previous part 'sss' of 1000 samples and the message I've created 'msg' ?

so there are three variables 'delay' , 'sss' , and 'msg'

please help. thanks


Solution

  • Concatenate them.

    newSignal = [delay sss msg];