### MATLAB

Objectives

MATLAB is an interactive system whose basic data element is an array that does not require dimensioning. This allows you to solve many technical computing problems, especially those with matrix and vector formulations, in a fraction of the time it would take to write a program in a scalar non-interactive language such as C or Fortran.

The name MATLAB stands for matrix laboratory. MATLAB was originally written to provide easy access to matrix software developed by the LINPACK and EISPACK projects, which together represent the state-of-the-art in software for matrix computation.

MATLAB has evolved over a period of years with input from many users. In university environments, it is the standard instructional tool for introductory and advanced courses in mathematics, engineering, and science. In industry, MATLAB is the tool of choice for high-productivity research, development, and analysis.

MATLAB features a family of application-specific solutions called toolboxes. Very important to most users of MATLAB, toolboxes allow you to learnand apply specialized technology. Toolboxes are comprehensive collections of MATLAB functions (M-files) that extend the MATLAB environment to solve particular classes of problems. Areas in which toolboxes are available include signal processing, control systems, neural networks, fuzzy logic, wavelets, simulation, and many others.

Pre-requisites

Not Required

Course Content

Module 1: Introduction to MATLAB

Brief history and contemporary status of MATLAB

Use of MATLAB for engineers

Module 2: Explaining the MATLAB GUI interface

Layout of MATLAB GUI interface

Customizing you own layout

Module 3: Usage of MATLAB Help/ Docs/ Basics

Using help and doc commands

Using online documentation

Important web links and forums to reach for help

Module 4: Variables and constants

Using MATLAB as a calculator

Operator precedence

Assigning and overwriting variables

Naming a variable (rules and good practices)

Predefined variables or MATLAB constants

Reassigning MATLAB constants

Keeping track of your work session

Command history

Integers (controlling the floating points)

Relational and logical operators

Module 5: Functions (built in)

Introduction to concept of libraries and built in functions

Trigonometric functions

Elementary functions (floor ; round etc)

Viewing the code of the elementary functions

Module 6: Introduction to Matrices in MATLAB

Creating Matrices

Array indexing ( accessing and manipulating the individual values)

Adding and deleting rows and columns

Concatenation of matrices

Using Sub matrices

Matrix operations (addition; subtraction; multiplication; division)

Built-in functions for analysing Matrices

Module 7: Scripts and functions

Making folders

Creating and executing script files

Creating and executing function files

Function files with multiple inputs and multiple outputs

Function files with

Modular programming

Module 8: Conditional statements and Loops

If statements (if; if else etc)

Switch case

For; While loops

Nested loops and conditional statements Return; break and continue keywords

Module 9: Debugging

Importance and introduction of debugging

Types of break points

Working with break points

Examining values during debugging

Correcting and ending debugging

Module 10: Plotting in MATLAB

Creating and annotating simple plots from vectors

Adding titles; axis labels and annotations (from GUI as well as using commands)

Specifying line styles and colours

Types of plots (using log axes; histograms)

Representing multiple datasets in single plots

Module 11: Project

100% Placement Assistance
Top