Вы находитесь на странице: 1из 5

Department of

Computing &
Technology
Course Outline

Course Code SE525 Course Title Advanced Programming


Credit Hours 3
Course Instructor Dr. MOHSIN MASOOD
Pre-requisite Courses and Students are expected to have a good background in
Assumed Knowledge and computer science, Mathematics, statistics and probability,
Capabilities fundamental algorithms, and any computing language.
Lecture Timings Wednesday : 16:00 – 19:00
Saturday : 12:00 – 15:00
Suggested Reference • David Houcque, “Introduction to MATLAB for
Books Engineering Students”.
• Christos Xenophontons, “A Beginner’s Guide to
MATLAB”.
• The MathWorks, Inc.” MATLAB the Programming
Fundamentals”.
• Stormy Attaway, “MATLAB A Practical Approach”.
• Matlab tutorial:
http://www.math.utah.edu/lab/ms/matlab/matlab.html
• •Another Matlab tutorial:
http://www.cyclismo.org/tutorial/matlab/
• •MIT online matlab course:
https://ocw.mit.edu/courses/electrical-engineering-and-
computer-science/6-094-introduction-to-matlab-january-
iap-2010/syllabus/
• •Free mathwork’s tutorials, (included in the student
license of MATLAB)
https://www.mathworks.com/support/learn-with-matlab-
tutorials.html
Course Description This course provides an aggressively gentle introduction to
MATLAB®. It is designed to give students fluency in
MATLAB, including popular toolboxes. The course consists
of interactive lectures with students doing sample MATLAB
problems in real time.
Learning Outcomes The main learning outcomes of this course are
• Understand the procedures, algorithms, and concepts
require to solve specific problems.
• Code solutions to problems in MATLAB, in a legible,
debug gable and efficient way.
Counselling Hours Friday: 9:00 – 12:00 (PST)
Class Policy • Student must reach classroom on time; late comers may
join but will not be marked as “Present”
• Make sure to complete 75% of attendance for the course
in the semester, students below 75% are not entitled to
attend final exams.
• Complete assigned Tutorials on time, for late submission
10% marks will be deducted.
• Mobile phones must be either switched-off / silent during
class lectures.
• Zero tolerance for Plagiarism.

Week# Topics to be Covered Evaluation


1 OVERVIEW:
MATLAB's Power of Computational Mathematics
Features of MATLAB
Uses of MATLAB

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

Вам также может понравиться