Professional Documents
Culture Documents
Ant Exp
Ant Exp
LAB RECORD
CHRIST (DEEMED TO BE UNIVERSITY)
SCHOOL OF ENGINEERING AND TECHNOLOGY
CONTENTS
Sl. No. Date Name of the Experiment Page No. Marks Faculty
Sign
MATLAB based experiments
INTRODUCTION
MATLAB, in short, MATrix LABoratory is a programming package specifically
designed for quick and easy scientific calculations and I/O. It has hundreds of built-in
functions for a wide variety of computations and many toolboxes designed for specific
research disciplines, including statistics, optimization, solution of partial differential
equations, data analysis.
LAUNCHING OF MATLAB
Start MATLAB by double clicking on the MATLAB icon in the applications folder, or
wherever it is. The MATLAB window will come up on the computer screen. This is the
window in which we can interact with MATLAB. The main window on the right is called
the Command Window. We can see the command prompt in this window, which looks
like >>. If this prompt is visible MATLAB is ready for us to enter a command. In the top
left corner, we can view the Workspace window. The Workspace window will show us
all variables that we are using in our current MATLAB session. When we first start up
MATLAB, the workspace is empty. In the bottom left corner, we can see the Command
History window, which simply gives a chronological list of all MATLAB commands that
we used before (if any), and the Current Directory window which shows us the contents
and location of the directory we are currently working in.
BASIC OPERATIONS
Sl.
Basic Functions and its Description
No.
>> ver ↩
>>clear all ↩
3 It removes all variables from the current workspace, releasing them from system
memory
>>close all ↩
4
This command closes all the image windows that are currently open in MATLAB
5 >>a=3 ↩
6 >>who ↩
7 >>whos ↩
8 >>help ↩
It creates a 4 x 4 matrix
Opening and closing square brackets are required for matrices larger than 1x1.
10 >>b ↩
11 >>sum(b) ↩
12 >>diag(b) ↩
Produces all of the elements along the diagonal
13 >>b'↩
Transpose operator. The first column becomes the first row, the second column
becomes the second row and so on..
14 >>max(b) ↩
15 >>min(b) ↩
16 >>mean(b) ↩
17 >>sum(b(:))↩
18 >>b(1,4) ↩
Produces the element in the first row and the forth column
19 >>b(1,5) ↩
20 >>b(1,5)=17↩
21 >>zeros(i,j) ↩
22 >>ones(i,j) ↩
It creates an i x j matrix of ones
23 >>eye(i) ↩
24 >>h=1:1:10 ↩
It created a row vector h with elements starting at 1 and increasing in steps of 1 up
to 10
25 >>h=1:10 ↩
26 >>h=8:-1:3 ↩
27 >>a=1:10; ↩
28 >>A=[1,2;3,4] ↩
29 >>A=[1,2;3,4]; ↩
30 >>exit ↩
For specific technologies, MATLAB provides toolboxes, which add to the basic MATLAB
functionality. Some of the toolboxes include:
● Simulink
● 5G Toolbox
● Antenna Designer Toolbox
● Automated Driving Toolbox
● Communications Toolbox
● Computer Vision Toolbox
● Control System Toolbox
● DSP System Toolbox
● Deep Learning Toolbox
● Signal Processing Toolbox
● Image Processing Toolbox
● RF Toolbox
● Wavelet Toolbox
● WLAN Toolbox
ANTENNA DESIGNER TOOL BOX
The MATLAB has ANTENNA DESIGNER TOOLBOX in the signal processing and
communications category, which can be used for the design and analysis of some
standard antennas, such as rectangular waveguide, horn, folded dipole, V antenna
performances. Special microstrip antennas and arrays can also be designed and analyzed.
FEATURES OF ANTENNA DESIGNER TOOLBOX:
RESULTS AND CONCLUSION:
Thus, the MATLAB, its features and its versatility in antenna measurements using
ANTENA DESIGNER TOOL BOX are studied.
MY INFERENCES:
The Antenna ToolBox in Matlab has so many types of Antennas
which are useful for further experiments in this lab . And the antennas play
a major role in communication and signal processing . Therefore we studied
MATLAB and its versatility for antenna measurements using ANTENNA
DESIGNER Toolbox.