12-21-2021 08:44 AM
Hey, someone maybe knows how I can do this exercise?
Using the Signal Generator by Duration function (multiple use of the function) generate the following waveform:
y(t) = 10 sin ( ωt) + 10/3 sin ( 3ωt) + 10/5 sin ( 5ωt)
for t from 0 to 2π, where ω = 2π / T, and T is the period of the first harmonic.
Present the signal generated in the form of samples graphically on the XY object Graph. The X axis represents time - find the vector X values based on the following data: number of samples 512 (one period of the first harmonic), sampling rate 25.6 kHz.
example of program:
I tried to make it this way, but I don't think it works correctly
12-21-2021 08:58 AM
The waveform looks good to me, what is the question again?
12-21-2021 01:10 PM
Hi michal,
unfortunately you forgot to attach your VI! (We cannot debug/edit/run images with LabVIEW…)
Your image does not fit to your formula:
Mind to share your code after adapting to your requirements?