I want to create a square wave train with 40 kHz frequency. The problem with the attached worksheet is
1- it doesn't start from zero amplitude
2- I don't know how to add the factor (x-vt) , x= position and v=the sound speed, to simulate the wave train propagation in "x" direction.
Could you please give me some hints.
All the best
Solved! Go to Solution.
your solution to this looks interesting. i'd like to try it out, but i don't see a mathcad file for it. can you post it?
i wasn't sure if there was more to it or not. i played around with the file you posted. it seems to have a lot of odd behavior depending on the inputs used. one odd thing is the duty cycle is at the end of the cycle rather than the beginning. the other odd things seem to be input limitations. kinda hard to explain.
here is a modification that works more like what i was expecting. i'll make a new thread using it to drive a mass spring damper. thanks for this. i never would have figured it out without your post.