2.1. Introduction

MATLAB is a powerful computing language. Programming languages process data consisting of numbers, characters and strings and provide output, known as useful information. Data processing is carried out by executing a sequence of instructions called a computer program. This group of instructions or program is written by the user, using certain symbols and words according to syntax rules of a particular language. MATLAB also has its own vocabulary and grammar. In this chapter, concepts of character set, constants, variables, data types, operators and expressions are discussed.

Any MATLAB command that can be given at the command line can be used in an M-file. The MATLAB has more features as compared to any other programming language. ...

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.