Ta ZC164 Course Handout

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 6

Birla Institute of Technology & Science, Pilani

Work Integrated Learning Programmes Division


Computer Programming (MATLAB)

Course Title Computer Programming (MATLAB)


Course No(s) TAZC 164/PE ZC164
Credit Units 4
Credit Model 3+1
Instructor-In-Charge Dr. Samir Kale
Version Number 4
Date 27/12/2023

Course Objectives:

This course will enable the students to understand and write programs and commands CO1
for a particular engineering task

This course will be able to create foundation for computational problems in science and CO2
engineering

This course will equip the students to deal with the usage of MATLAB in engineering CO3
field for various plotting

This course will apply MATLAB functionality in solving problems from Electrical, CO4
Mechanical, Manufacturing, Civil, Aerospace Engineering to be discussed in contact
sessions

Text Book(s)

Stephen J. Chapman Matlab Programming for Engineers, 4th Ed. Cengage Learning. T1
Attaway,Stormy Matlab: A Practical Introduction to Programming and Problem Solving T2

Reference Book(s) & other resources

Amos Gilat, MATLAB An Introduction with Applications, 5th Edition Wiley Publications R1
MATLAB The Language of Technical Computing, The Mathworks, Version 6 R2
Learning Outcomes

Students will be able to understand the MATLAB applications in numeric computation and LO1
algorithm development.

Students will be able to write MATLAB code for application in Control Systems, Statistics LO2
Finite Element Method

Students will be able to write MATLAB script to understand the response of a process LO3
with respect to the given input

Self-Study & Contact Session Plan

Lecture 1: (Module #1: Introduction to Programming and MATLAB)

Introduction to Programming and MATLAB Learning Objectives


Computers and Programming (RL1.1), Programming Languages
Types (RL1.2), Problem solving (RL 2.1), Introduction to the Topics (Recorded Lectures
MATLAB environment (RL 2.2), Using MATLAB Number)
Documentation (RL 1.3)
Introduction to the course, Operating methodology-Installation
Procedure
Compare a sample code in C with MATLAB Contact Session (in addition
Trajectory of a particle in projectile motion (solving quadratic to the brief overview to the
equations) recorded content)
Ideal gas law problem to find volume.

R1: Section 1.1, 1.2, 1.3, R2 Videos 1 References

Lecture 2: (Module #2: Elements of MATLAB programming)

Understanding Arrays in MATLAB, Representation and Learning Objectives


Operation on Arrays
Arrays: Creation (RL 3.1), Accessing Elements (RL 3.2) ,
Topics (Recorded Lectures
Sub Arrays(RL 3.3), Representation(RL 3.3), Operations (RL
Number)
3.4)
1. Maximum and Minimum values in Matrix Contact Session (in addition to
2. Potential Energy-Spring Problem the brief overview to the recorded
content)
T1: Sections 2.1, 2.3, 2.4, T2: Chapter 1 References
Lecture 3: (Module #3: Problem Solving Process)

Understanding the Problem-Solving Process and to write small Learning Objectives


MATLAB programs
Input, Output statements (RL 4.1), MATLAB Scripts (RL 4.2), Topics (Recorded
Problem Solving (RL 5.1), Algorithms(RL 5.2), Flow Chart (RL 5.3) Lectures Number)
Exercises on designing algorithms, drawing flowcharts using sequence, Contact Sessions (in
selection, and iterative constructs for engineering problems such as addition to the brief
optimization. overview to the
Writing small programs involving I/O and executing it. recorded content)
T1 Section 3.2, R1: Chapter 5 References

Lecture 4: ( Module #4-5: Problem solving Process)

Learning to write programs using iteration/repetition Learning Objectives


Condition: Relational and Logical Expressions (RL 6.1), Conditional
Topics (Recorded
Statements (if statement) (RL 6.2), Choosing from Multiple
Lectures Number)
Alternatives (RL 6.3)
Exercises in writing conditions using relational, logical operations, Contact Sessions (in
writing programs involving if statement, if-else, if- elseif and switch addition to the brief
case statements in MATLAB overview to the
recorded content)
T1: Sections 3.3, 3.4 9 References

Lecture 5: ( Module #6: Problem solving: Iterative Constructs)

Learning to write programs using iteration/repetition Learning Objectives

For Loop (RL 7.1), While Loop (RL 7.2), Break and Continue Topics (Recorded
Statements(RL 7.3), Logical Arrays and Vectorization (RL 7.4) Lectures Number)
Write programs involving for-loop, while-loop and nested loops. Contact Sessions (in
Exercises in vectorizing programs involving loops and decisions. addition to the brief
overview to the
recorded content)
T1: Sections 4.1-4.3 T2:Chapter 3 References
Lecture 6: ( Module #6: Plotting)

Learning create manipulate string data and plotting Learning Objectives


functions in MATLAB
Simple Plots (RL 9.1), Multiple Plots, Subplots (RL 9.2) Topics (Recorded Lectures
Number)
Contact Sessions (in addition
Plotting functions using plot function. PLOT functions of Root to the brief overview to the
Locus technique in Process control, recorded content)
T1: Section 6.2, 2.11 References

Lecture 7-8: ( Module #6: Plotting)

Understanding top down design, and writing modular Learning Objectives


programs using user-defined functions in MATLAB
Simple Plots (RL 9.1), Multiple Plots, Subplots (RL 9.2) Topics(Recorded Lectures
Number)
Use of FFT in Signal Processing, Convex hull and Contour Contact Sessions (in addition
Plots to the brief overview to the
recorded content)
T1: Chapter 5.1-5.3 References

Lecture 9: Review of Topics from Lecture 1-8

Lecture 10: (Module #9: Modularity, Reuse: User defined Functions)

Writing functions using optional parameters, Learning Objectives


global/persistent variables, sub functions
Functions with Optional Parameters (RL 10.4), Sharing Data
between Function using Global Memory (RL 10.5), Topics(Recorded Lectures
Preserving Data Between Calls to a Function (RL 10.6), Sub Number)
Functions (RL 10.7)
Numerical Integration Methods:Direct Techniques Contact Sessions (in addition
to the brief overview to the
recorded content)
T1: Chapter 5.4-5.5, 5.7.1 T2:Chapter 6 References
Lecture 11: (Module #9: Modularity, Reuse: User defined Functions)

Writing higher order functions in MATLAB Learning Objectives


Anonymous functions (RL 11.1), Function Functions (RL 11.2) Topics(Recorded Lectures
Number)
Numerical Integration using Gauss Elimination for Heat Contact Sessions (in
Transfer Problem addition to the brief
overview to the recorded
content)
T1: Chapter 5.6, T2:Chapter 6 References

Lecture 12: (Module #9: Modularity, Reuse: User defined Functions)

Writing recursive functions in MALTLAB Learning Objectives


Recursion (RL 11.3) Topics(Recorded Lectures
Number)
Exercises in Electrical Problems signifying usage of Contact Sessions (in addition to
MATLAB the brief overview to the
recorded content)
R1: Chapter 9.5 References

Lecture 13: (Module #9: Modularity)

Structured Data: Structures Learning Objectives


Anonymous functions (RL 11.1), Function Functions (RL Topics(Recorded Lectures
11.2) Number)
Exercises in writing programs of engineering mechanics: Contact Sessions (in addition to
Statistics the brief overview to the
recorded content)
T1: Chapter 7.3 T2: Chapter 8 References

Lecture 14: (Module #9: Modularity)

Functions in Matlab Learning Objectives


Anonymous functions (RL 11.1), Function Functions (RL Topics(Recorded Lectures
11.2) Number)
Exercises in statistics-CGPA calculations, Histograms, Contact Sessions (in addition to
ANOVA the brief overview to the
recorded content)
T1: Chapter 7.2 References
Lecture 15: (Module #10: File Handling)

Functions in Matlab Learning Objectives


Files: Introduction (RL 14.1), Preserving Variables and Data Topics(Recorded Lectures
(RL 14.2) Number)
Exercises in signal processing techniques , explanation and Contact Sessions (in addition to
ODE solver the brief overview to the
recorded content)
T1: Chapter 14 References

Lecture 16: (Module #10: File Handling)

Functions in MATLAB Learning Objectives


File Opening and closing(RL 14.3), Formatted Functions (RL Topics(Recorded Lectures
14.4) Number)
Examples from Mechanical engineering problems like COP Contact Sessions (in addition to
calculations, Refrigeration and Air conditioning the brief overview to the
recorded content)
T1: Chapter 14 References

Evaluation Scheme:
Legend: EC = Evaluation Component; AN = After Noon Session; FN = Fore Noon Session

Evaluation Name Type (Open Weight Duration Day, Date, Session, Time
Component (Quiz, Lab, Project, Mid- book, Closed
term exam, End semester book,
exam, etc.) Online, etc.)
EC - 1 On Ramp Certification- Online 10% 15 days Will be announced by
MATLAB & Tutorials Lab Faculty
Virtual Lab –Quiz and Online 20% Will be announced by
Assignment Lab Faculty
EC - 2 Mid-Semester Test Closed Book 30% 2 hours (FN)
EC - 3 Comprehensive Exam Open Book 40% 2½ (FN)
hours

You might also like