This is One of the Solutions

AM Generation Using Matplotlib Python

| Comments

we can plot AM waves using matplotlib

It is the one of the most strongest tool in linux to plot the waves

1
2
3
4
5
6
7
8
9
10
import matplotlib.pylab as plt
import numpy as num
fc=50;
fm=5;
t=num.arange(0,1,0.001);
c=num.sin(2*num.pi*fc*t);
m=num.sin(2*num.pi*fm*t);
am=c*(2+m);
plt.plot(am,r)
plt.show()

images

For more details about matplotlib refer

Related posts

Comments