MATLAB: Equation for delaying signal

delay signal

x=vco(driver,fc,fs);
i want to make ddelay for this signal by Td

Best Answer

round(Td * fs) would give you the number of full samples of 0 to pad x with. However if you need a delay of a fraction of fs then the work involved is more difficult.
Related Question