02-09-2024 04:17 AM
Hello,
I am trying to superimpose two different waveforms over one period (0<t<T).
Consider that
The first waveform which is x1 = sin(wt), would be valid for 0 <= t <= T/2.
The second waveform which is x2 = square(wt), would be valid for T/2 <= t <= T.
So, in a way, I need to cut the first signal until T/2 and begin the second one from T/2 until T.
I know there is a similar post here: https://forums.ni.com/t5/LabVIEW/Chopping-a-waveform-for-half-cycle-for-higher-frequencies/td-p/3896....
However, superimposing the second signal does not exist.
I would appreciate it if someone could provide me with an answer.
Thanks in advance
Solved! Go to Solution.
02-10-2024 06:35 PM
Have you looked at the Waveform functions (found, it turns out, on the "Waveform" Palette)? You can use them to do the following:
Bob Schor
02-11-2024 02:13 AM
Hello Bob
Thank you for this insight. What I did was multiply each waveform by a corresponding square function for half the period.
However, I did notice some "discontinuities" around zero. So since you mentioned "Note that if you want the waveforms to be "continuous" at their join", I will try playing with the phase of the second waveform, then use the append function to join the two together.
I am commenting on my case maybe someone might have a similar issue. Thank you for your help.
Elio