Uploaded by Nilima Islam Bristy

lab 2

advertisement
East West University
Department of Electronics &Telecommunication Engineering
Experiment No.2
Student’s Name : Nilima Islam Bristy
Student’s ID
: 2018-2-55-010
Course Code
: ETE399 [Design and Simulations]
Section
: 02
Submitted to : Sarwar Jahan
Submission Date : 3/07/2022
Experiment 2
Objective
❖ To get acquainted with MATLAB’s environment.
❖ To learn to create MATLAB variables and basic plots.
❖ To learn to initialize and manipulate waves, exponential curves,
functions.
❖ To develop an understanding of MATLAB environment,
commands, and syntax.
Introduction
MATLAB is a powerful tool that is utilized by engineers and others
professionals in the development and testing of various projects. It is a
versatile software, with the help of which we can solve and develop any
sort of engineering problem. The name MATLAB stands for MATRIX
LABORATORY. All the work done in MATLAB is basically in the
form of matrices. MATLAB is programmable and has the same logical,
relational, conditional, and loop structures as in other programming
languages, such as C, Java, etc.
Summary:
❖ Sinusoidal wave
❖ Exponential wave
❖ Sample wave
❖ Exponential curves
❖ Functions
Sinusoidal Wave
Source code:
Output:
Exponential/Damped Wave
Source code:
Output:
Discrete Exponential Sample Wave
Source code:
Output:
Two Exponential Curves
Source code:
Output:
Two Exponential Curves including different symbols
Source code:
Output:
‘Negative Exp’,’Positive Exp’
Source code:
Functions of MATLAB
Fourier Series
Source code:
Output:
Integration
Integration with limit
Differentiation
Second derivative or more than that
Matrix Insertion
Transpose of matrix
Discussion:
In this lab we get familiar with MATLAB’s environment. We gained
knowledge about Sinusoidal wave, exponential wave, matrices, sample
wave, exponential curves through this experiment. We plotted several
waves and curves in MATLAB. We learnt how to implement Fourier
series, integration, limit, differentiation, and transpose matrix on
MATLAB. Overall, this lab taught us numerous fundamental
applications of MATLAB.
Download