CL2014 MATLAB Programming Lec01 B
CL2014 MATLAB Programming Lec01 B
MATLAB Programming
Lecture: 01
Week: 01
Course Instructor
Engr Muhammad Umar Khan Niazi
Office: C1-21, Ext.: 218, Email: [email protected]
1
2 Course Objectives
Assessment Policy
Classwork (Tutorials) 7 35
Quizzes 2 10
Assignments 1 5
Term Project 1 10
Final Exam 1 40
4 Weekly Course Contents
Course Contents:
6 Sessional - I
5 Weekly Course Contents
7 Introduction to 2D and 3D plots in MATLAB 1
Q1
8 Creating 2D and 3D plots in MATLAB, Formatting of plots in MATLAB 1
T4
9 Creating a GUI in MATLAB 1
T5
10 Logical Operators and Functions 1
A
11 Conditional Statements, if statements, for loops, while Loops, 1
1. Using only the MATLAB Command Window, find out what the
command imagesc does.
2. Demonstrate by using several values of angle θ that:
sin2(θ) + cos2(θ) = 1