Subject Code Subject Name Category L T P C
CB19742 IT Workshop (Scilab / MATLAB) + Lab PC
Course Objectives:
To introduce the students with the basic features of MATLAB for problem solving.
To introduce the students about the Mathematical functions like matrix generation and Plotting with
multiple data sets, line styles and colors.
To introduce the students about the Array operations and solving Linear equations in MATLAB.
To introduce the students about the control flow and operators using if-end structures and loops.
To introduce the students about the writing M-file scripts and Debugging M-files.
Unit-I Introduction to MATLAB 9
Introduction to MATLAB: History, basic features, strengths and weaknesses, good programming
practices and plan your code.
Working with variables, workspace and miscellaneous commands: Creating MATLAB variables,
overwriting variable, error messages, making corrections, controlling the hierarchy of operations or
precedence, controlling the appearance of floating point number, managing the workspace, keeping track
of your work session, entering multiple statements per line, miscellaneous commands.
Unit-II Matrix, array and basic mathematical functions 9
Matrix generation, entering a vector, entering a matrix, matrix indexing, colon operator, linear spacing,
creating a sub-matrix, dimension, matrix operations and functions matrix generators, special matrices,
array and array operations, solving linear equations, other mathematical functions.
Unit-III Basic plotting 9
Overview, creating simple plots, adding titles, axis labels, and annotations, multiple data sets in one plot,
specifying line styles and colours.
Unit-IV Introduction to programming 9
Introduction to programming: Introduction, M-File Scripts, script side-effects, M-File functions,
anatomy of a M-File function, input and output arguments, input to a script file, output commands.
Control flow and operators: "if ... end'' structure, relational and logical operators, "for ... end'' loop,
"while ... end'' loop, other flow structures, operator precedence, saving output to a file.
Unit-V Debugging M-files 9
Debugging process, preparing for debugging, setting breakpoints, running with breakpoints, examining
values, correcting and ending debugging, correcting an M-file.
Contact Hours : 45
Course Outcomes:
On completion of the course, students will be able to:
Write fundamental programs in MATLAB, creating variables and mathematical functions.
Understand how to program matrix operations, array operations and how to solve the system of
linear equations.
Program the fundamentals concepts of basic Plotting consisting of simple and multiple data sets in
one plot.
Understand how to program M-file scripts, M- file functions, Input –output Arguments and program
control flow operators, loops, flow structures.
Use the debugging process and debugging M-files.
Text Books:
1. Digital Image Processing using MATLAB, Rafael C. Gonzalez, Richard E. Woods, Steven Eddins,
Pearson Education, Inc., 2004.
2. MATLAB: A Practical Introduction to Programming and Problem Solving, Stormy Attaway,
Butterworth-Heinemann.
Reference Books:
1. https://www.mathworks.com/content/dam/mathworks/mathworks-dot-com/moler/exm/book.pdf
2. https://www.mathworks.com/help/releases/R2014b/pdf_doc/matlab/getstart.pdf
List of Experiments
1. Introduction to MATLAB: Programs using mathematical and relational expressions and the
operators.
2. Vectors and Matrices: Programs using array operations and matrix operations (such as matrix
multiplication).
3. Introduction to MATLAB Programming: Programs on input and output.
4. Selection Statements: Experiments on if statements, with else and elseif clauses and switch
statements.
5. Loop Statements and Vectorizing Code: Programs based on the concepts of counted (for) and
conditional (while) loops.
6. MATLAB Programs: More experiments based on scripts and user-defined functions.
7. Text Manipulation: Built-in text manipulation functions as well as converting between string and
number types.
8. Data Structures: Cell Arrays and Structures: Experiments based on two main data structures: cell
arrays and structures.
9. Experiments based on Data Transfer
10. Experiments based on Advanced Functions.
11. Introduction to Object-Oriented Programming and Graphics.
12. Experiments based on Advanced Plotting Techniques.
13. Sights and Sounds: Sound files and image processing.
14. Experiments based on Advanced Mathematics.
CO - PO – PSO Matrices of Course
PO/PSO PO1 PO2 PO3 PO4 PO5 PO6 PO7 PO8 PO9 PO10 PO11 PO12 PSO1 PSO2 PSO3
CO
CB19742.1 3 3 3 1 1 2 1 2 1 2 2 2 3 2 3
CB19742.2 3 3 3 1 3 2 1 2 1 2 3 2 3 2 3
CB19742.3 3 3 3 3 2 1 2 2 2 2 3 2 3 2 3
CB19742.4 3 3 3 3 2 1 2 2 2 2 3 2 3 2 3
CB19742.5 3 3 3 3 2 1 2 2 2 2 2 2 3 2 3
Average 3 3 3 2.2 2 1.4 1.6 2 1.6 2 2.6 2 3 2 3
Correlation levels 1, 2 or 3 are as defined below:
1: Slight (Low) 2: Moderate (Medium) 3: Substantial (High)
No correlation: "-"
2 B.BHUVANESWARAN | AP (SG) | CSE | Rajalakshmi Engineering College