cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

periodic pulse function

ptc-2182302
1-Newbie

periodic pulse function

Hi all, i'm trying to make a periodic pulse function in MatchCad2000i. i.e i'd like a y(t):=A*sin(t) where A is a periodic square pulse function Can MathCad do this? Many thanks. V.L.
5 REPLIES 5

i.e. i'm trying to switch sin(t) off in a pulsed fashion, e.g. between pi/2 and pi
RichardJ
19-Tanzanite
(To:ptc-2182302)

(height/2) * (1+sign(sin(2*PI*t/period + phase))) Richard

Thanks Richard, If by "sign" you mean + or -, then the function you wrote is just a standard sin. It is what you refered to as "height" that I wanted to modulate with a pulsed function that is periodic(i.e.SQUARE wave). _____ _____ | | | | ____| |____| |____ ... Thanks V.L.
RichardJ
19-Tanzanite
(To:ptc-2182302)

What I meant by sign was the built in function sign. Richard

Thanks! indeed that works
Top Tags