Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # -*- coding: utf-8 -*-
- """
- Created on Wed Oct 23 18:19:43 2019
- @author: Daniel
- """
- import numpy as np
- import matplotlib.pyplot as plt
- import math
- f=120
- phi=1.5*math.pi
- fs=1/12000
- T=2.0
- tab=[]
- for t in range(0.0,T,fs):
- x=math.exp^(-t)*math.sin(math.pi*f*t)/(2+math.cos(math.pi*t))
- tab.append(x)
- plt.title('Zadanie 1')
- plt.figure(1)
- plt.plot(tab)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement