I have this signal :
from math import* Fs=8000 f=500 sample=16 a=[0]*sample for n in range(sample): a[n]=sin(2*pi*f*n/Fs)
How can I plot a
import math import turtle ws = turtle.Screen() ws.bgcolor("lightblue") fred = turtle.Turtle() for angle in range(360): y = math.sin(math.radians(angle)) fred.goto(angle, y * 80) ws.exitonclick()