Hi. I have attached an example wave of what I want to do (scaling is 8E-10). I have a sinusoid signal in a step function, and I want to sort of filter everything except the sinusoid signal (and then pad). I tried using x2pnt to find the location of the minimum, so that I could do wave[0,startindex-pulsetime/timestep]=0, but that gave me a negative value, which does not make sense with my scaling, because I start at time 0.
Is there a way to programatically extract the signal, so that Ionly have a padded sinusoid?pulse0.ibw(78.5 KB)
If you want to extract the sinusoid progammatically you might try FilterFIR and a band-pass filter that passes the 10-30 Mhz range.
Low Pass:
End of Pass Band 30 MHz
Start of Reject Band: 35 MHz
Coefs: 601
High Pass:
End of Reject Band: 8 MHz
Start of Pass Band: 10 MHz
Coefs: 601
--Jim Prouty
Software Engineer, WaveMetrics, Inc.
August 11, 2016 at 11:17 am - Permalink