# complex waveforms

Discussion in 'Homework Help' started by cjacobs, Dec 29, 2010.

1. ### cjacobs Thread Starter New Member

Dec 8, 2010
10
0

I am trying to construct a complex waveform this formula.

V=141.4sin240pit+28,3sin720pit+14.14sin(1200pit-69deg)

Now i have tried to do it by hand but my fundamental wave dont make 1 cycle in 8.3 ms the way it should do.I dont know if i have used the formula correctly to obtain each plot. I assume you get the sin of 240pit(t will be different for each ms) and then multiply it with 141.4.Please can somebody shed some light.

2. ### hgmjr Moderator

Jan 28, 2005
9,030
214
If you have MS Excel or similar spreadsheet software you can give that a try.

hgmjr

3. ### Ron H AAC Fanatic!

Apr 14, 2005
7,050
657
It's also easy to plot on a simulator such as LTspice.

• ###### complex waveform.PNG
File size:
27.8 KB
Views:
39
Last edited: Dec 29, 2010
4. ### Georacer Moderator

Nov 25, 2009
5,142
1,266
Ron's picture says it all. If you want to do it yourself, any circuit simulation software is ideal. Matlab will also do. Do you have a copy?

Jul 7, 2009
1,585
141
Here's a quick plot made with python/numpy/matplotlib:

Code ( (Unknown Language)):
1.
2. from __future__ import division
3. from pylab import *
4. N, t0 = 200, 0.05
5. t = arange(0, t0, t0/N)
6. V = 141.4*sin(240*pi*t) + 28.3*sin(720*pi*t) + 14.14*sin(1200*pi*t - 69*pi/180)
7. plot(t, V)
8. savefig("a.png", dpi=75)
9.
If that's not what you're after, you'll need to learn to write your equations properly so that they're unambiguous.

File size:
24.6 KB
Views:
21