
Comb function (derived from Sawtooth)

s.r.chinn
function comb(period, duty, x) variable period, duty, x return (sawtooth(2*pi*x/period)>=duty) ? 0 : 1 end
My apologies if I have missed anyone's prior contribution or any Igor documentation.


Forum

Support

Gallery
Igor Pro 9
Learn More
Igor XOP Toolkit
Learn More
Igor NIDAQ Tools MX
Learn More