I'm trying to analyze a signal like the example below, but it contains undesirable zero value samples, is there any way to eliminate them? I'm using Matlab.
Actually, the problem is this: in a sampling process I am using a train of impulses but that train I formed it with the cardinal sine function and it has generated values with zeros. Then, that train multiplies it in time to the sinusoidal signal and obtain samples (samples with zeros).
k=5; t=0:Ts:T; for n=min(t):k*Ts:max(t) pdirac=pdirac+sinc(100*(t-n)); end signal=signal1.*(pdirac);