Professional Documents
Culture Documents
Project Report For Matlab
Project Report For Matlab
Project Report
Group Members:
Submitted To:
In This Project we develop an environment, which is very useful for understanding the
behavior of signals in time and frequency domain. We have three basic signals ,which
are Sin,Cos,Tan..In this Project we studied these three signals in time and frequency
domain. Also we included an Exponentional Function in frequency domain by calculating
it forior and than plotting it.It tells us that how signals behave ,when we change their
domains. The main purpose was to study the Graphical user interphase and its
understanding.So we learn it by building this mini project on Matlab.
Contents
2-Coding
3-Output
4-Conclusion
Graphical User Interphase
Introduction to GUI:
To access the access the GUI we have to follow the following steps.
1- The first step is to write the Guide in Command Window and the following
window will be open.
2-Than we will select Blank (Default) and the following window will be open.
3-From the following , we will select our desird components from list and drag it into
the window.
There are 13 buttons in this window.Every button has its own specific operation and
requird programming to perform that operation.
When we select a button than we will set its properties by using properties
inspector.Two types of files are created when we select and drag the button into the
window.one is fig file and other is m file.M file has the coding of the program.
The properties inspector has the following properties.
Coding
% Calculate data
x = Sin(2*pi*f1*t) + Sin(2*pi*f2*t);
y = fft(x,512);
m = y.*conj(y)/512;
f = 1000*(0:256)/512;
% Calculate data
x = Cos (2*pi*f1*t) + Cos(2*pi*f2*t);
y = fft(x,512);
m = y.*conj(y)/512;
f = 1000*(0:256)/512;
% Calculate data
x = Tan(2*pi*f1*t) + Tan(2*pi*f2*t);
y = fft(x,512);
m = y.*conj(y)/512;
f = 1000*(0:256)/512;
syms t;
f=fourier(exp(-abs(t)));
ezplot(f);
axes(handles.axes1)
Output
We conclude that our code is very useful for understanding the behaviour of some basic
signals(exponantional,sine,cos and tan) in two different domain(time and frequency).It
provides the user facility of observing the signal by zoom in and out.our code also
provide the user the graphical output for better understanding.. .