3.1. Introduction

The matrix notation usually simplifies the complex mathematical expressions/equations and makes solutions of problems much easier to handle and manipulate. In MATLAB®, a matrix is a rectangular array of real or complex numbers. Matrices with only one row or with only one column are called row and column vectors, respectively. A matrix having only one element is called a scalar.

Although other high-level programming languages work with one number at a time, in MATLAB it is possible to work with the complete matrix simultaneously. This feature is very important as it removes the unnecessary loops and repetition of same statements. The program, therefore, becomes short, concise, and easily understandable. In MATLAB, matrix is ...

Get MATLAB® and Its Applications in Engineering: [Based on MATLAB 7.5 (R2007b)] now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.