
Understanding Matrices in Computer Science
Explore the world of matrices in computer science with topics covering square matrices, diagonal matrices, scalar matrices, identity matrices, zero matrices, and more. Learn about dimensions of matrices and practical examples to enhance your knowledge in this field.
Download Presentation

Please find below an Image/Link to download the presentation.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.
You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.
E N D
Presentation Transcript
University of Salahaddin Computer Department / 2ndGrade Lesson - 1 M.Sc. Lajan Jalil lajan.mohammed@su.edu.krd 4/20/2025 1
Chapter one Matrix 4/20/2025 2
Note: 4/20/2025 3
Square Matrix Column vector : Row vector 4/20/2025 4
Main Diagonal for matrix The main diagonal of a matrix consists of those elements that lie on the diagonal that runs from top left to bottom right. If the matrix is A, then its main diagonal are the elements who's row number and column number are equal, ???. A= 4/20/2025 5
Diagonal Matrix 12 = 0,????? ? ? : 4/20/2025 6
Scalar matrix : 4/20/2025 7
Zero Matrix Definition : A zero (null) matrix denoted by O is a matrix will all elements equal to zero. Example: ? =0 0 ? =0 0 0 0 02 3, 0 02 2 0 4/20/2025 8
Identity Matrix Definition : An Identity Matrix is a square matrix ? = ???? ?such that : 1 ?? ? = ? 0 ?? ? ? Example : 1 0 0 ???= 0 1 0 0 0 13 3 ? = 4/20/2025 9
Dimension of matrices The dimension for any matrices is ? ? is denoted as: ???(?) = ? ? 4/20/2025 10
Examples: 4/20/2025 11
4/20/2025 12
: 4/20/2025 13
Home work 4/20/2025 14
Home Work 4/20/2025 15
4 . Are the following Identity matrix ? 0 0 1 0 5. Is every Identity Matrix is a Scalar Matrix? 6. Is the Scalar Matrix A, with ???= ? ,? ??? ?????? may be written ? = ?? , where ? is Identity Matrix? 0 ? ,? =1 1 0 0 0 1 0 0 , ? = 0 1 0 0 0 1 0 ? = ,? = 4/20/2025 16
Thanks for your attention Be healthy Good luck 4/20/2025 17