Exp 03
Exp 03
This assessment instrument assesses the following Course Learning Outcomes (CLO) and grading scheme:
4. Use Matlab tool boxes to handle audio and image files Task 1 & 2
6. Develop Matlab algorithms Task 1
?
Linkages to Program Outcomes and Concentration Outcomes are provided in the Syllabus.
Objective: upon the completion of this experiment the student should be able to :
• Array manipulations.
Task 1
(1) Login to Mathworks and lunch MATLAB Onramp course by clicking this link Task 1. a
(2) Complete Chapters 12 to 15 of the course.
(3) Login again to Mathworks and lunch MATLAB Onramp course by clicking this link Task 1. b.
(4) Complete Chapters 1 to 3 of the course.
(5) Exit the course and then press View/Share Certificate, followed by View/print progress report to print your progress report for this task.
(6) Submit a copy of your progress report for this task.
Task 2
In this task, you are required to use the logical operators to extract the black circles only in the image below which is a built in image in MATLAB.
(1) First you need to read the image. To do so, use the following command: img= imread(’circlesBrightDark.png’);
(2) To display your image use the command: imshow(img)
(3) Design a white image. This can be done by introducing matrix that is full of ones and it has the same size as the image in Figure 1.
(4) Choose the appropriate logical operator along with two aforementioned images to extract the black circles only.
Perform
(5) What is the
thefollowing operations
correct logical between Why?
operator? img andElaborate
the white image: OR, AND,
your answer NOR.
with anshow the results
example.
(6) Show the resulted image, inserted below.