Overtone 1 4010 HZ Overtone 2 6015 HZ Eqn 1 F (X) Sin (2
Overtone 1 4010 HZ Overtone 2 6015 HZ Eqn 1 F (X) Sin (2
) Fundamental frequency=2005 Hz
Overtone 1=4010 Hz
Overtone 2=6015 Hz
Python script:
import numpy as np
import matplotlib.pyplot as plt
Time=np.arange(0, 1,0.001)
x=1*(np.sin(2*np.pi*2005*Time + np.pi/2))
y=2*(np.sin(2*np.pi*4010*Time))
z=3*(np.sin(2*np.pi*6015*Time + np.pi))
fig,ax=plt.subplots(2,2, figsize=(7,10))
ax[0,0].plot(Time,x)
ax[0,0].set_xlabel("Time")
ax[0,0].set_ylabel("Amplitude")
ax[0,0].set_title("Frequency 2005 Hz")
ax[0,1].plot(Time,y)
ax[0,1].set_xlabel("Time")
ax[0,1].set_ylabel("Amplitude")
ax[0,1].set_title("Frequency 4010 Hz")
ax[1,0].plot(Time,z)
ax[1,0].set_xlabel("Time")
ax[1,0].set_ylabel("Amplitude")
ax[1,0].set_title("Frequency 6015 Hz")
Result=x+y+z
ax[1,1].plot(Time,Result, label='sin(x)')
ax[1,1].set_xlabel("Time")
ax[1,1].set_ylabel("Amplitude")
ax[1,1].set_title("Resultant")
plt.subplots_adjust(wspace=.5,hspace=0.3)
2.) Frequency= 1003 Hz (Half of my reg no:2005)
Sawtooth Wave:
Square wave:
Syntax:
X=fft(A [,sign] [,option])
X=fft(A,sign,selection [,option])
X=fft(A,sign,dims,incr [,option] )
A fast Fourier transform (FFT) is an algorithm that calculates the discrete Fourier
transform (DFT) of some sequence – the discrete Fourier transform is a tool to
convert specific types of sequences of functions into other types of representations.
Another way to explain discrete Fourier transform is that it transforms the structure of
the cycle of a waveform into sine components.
Applications.
The FFT is used in digital recording, sampling, additive synthesis and pitch
correction software.
One important application is for the analysis of sound. It is important to assess the
frequency distribution of the power in a sound because the human ear exercises that
capacity in the hearing process.