Advance Programming Coursework
Advance Programming Coursework
Computing &
Technology
Course Outline
ENVIRONMENT:
Local Environment Setup
Understanding the MATLAB Environment
BASIC SYNTAX:
Hands on Practice
Use of Semicolon (;) in MATLAB
Adding Comments
Commonly used Operators and Special Characters
2 VARIABLES: Assignment-1
Multiple Assignments
The format Command : Creating Vectors, Creating Matrices
COMMANDS:
Commands for Managing a Session
Commands for Working with the System
Input and Output Commands
Vector, Matrix, and Array Commands
Plotting Com
3 M-FILES Quiz-1
The M Files
Creating and Running Script File
DATA TYPES
Data Types Available in MATLAB
Data Type Conversion
Determination of Data Types
OPERATORS
Arithmetic Operators
Functions for Arithmetic Operations
Relational Operators
Logical Operators
DECISION MAKING
if... end Statement
if...else...end Statement
if...elseif...elseif...else...end Statements
The Nested if Statements
The switch Statement
4 LOOP TYPES Assignment-2
The while Loop
The for Loop
The Nested Loops
Loop Control Statements
The break Statement
VECTORS
Row Vectors
Column Vectors
Referencing the Elements of a Vector
Vector Operations
Addition and Subtraction of Vectors
Scalar Multiplication of Vectors
Transpose of a Vector
Appending Vectors
Magnitude of a Vector
5 MATRIX Quiz-2
Referencing the Elements of a Matrix
Deleting a Row or a Column in a Matrix
Matrix Operations
Addition and Subtraction of Matrices
Division (Left, Right) of Matrix
Scalar Operations of Matrices
Transpose of a Matrix
Concatenating Matrices
Matrix Multiplication
ARRAYS
Special Arrays in MATLAB
A Magic Square
Multidimensional Arrays
Array Functions
Sorting Arrays
6 NUMBERS Assignment-3
Conversion to Various Numeric Data Types
Smallest and Largest Integers
Smallest and Largest Floating-Point Numbers
STRINGS
Rectangular Character Array
Combining Strings into a Cell Array
String Functions in MATLAB
FUNCTIONS
Anonymous Functions
Nested Functions
Private Functions
Global Variables
7 DATA IMPORT Quiz-3
Low-Level File I/O
Import Text Data Files with Low-Level I/O
DATA OUTPUT
Writing to Diary Files
Exporting Data to Text Data Files with Low-Level I/O
PLOTTING
Adding Title, Labels, Grid Lines, and Scaling on the Graph
Drawing Multiple Functions on the Same Graph
Setting Colors on Graph
Setting Axis Scales
Generating Sub-Plots
GRAPHICS
Drawing Bar Charts
Drawing Contours
Three-Dimensional Plots
8 ALGEBRA Assignment-4
Solving Basic Algebraic Equations in MATLAB
Solving Quadratic Equations in MATLAB
Expanding and Collecting Equations in MATLAB
Expanding and Collecting Equations in Octave
Factorization and Simplification of Algebraic Expression
CALCULUS
Calculating Limits
Verification of Basic Properties of Limits using Octave
Left and Right Sided Limits
DIFFERENTIAL
Verification of Elementary Rules of Differentiation
Derivatives of Exponential, Logarithmic, and Trigonometric
Functions
Computing Higher Order Derivatives
Finding the Maxima and Minima of a Curve
9 INTEGRATION Quiz-4
Finding Indefinite Integral Using MATLAB
Finding Definite Integral Using MATLAB
POLYNOMIALS
Evaluating Polynomials
Polynomial Curve Fitting
TRANSFORMS
The Laplace Transform
The Fourier Transforms
Inverse Fourier Transforms
10 GNU OCTAVE TUTORIAL Assignment-5
MATLAB vs Octave
11 SIMULINK Quiz-5
Using Simulink