3 options
Essential MATLAB for engineers and scientists / Brian D. Hahn and Daniel T. Valentine.
- Format:
- Book
- Author/Creator:
- Valentine, Daniel T., 1946-
- Language:
- English
- Subjects (All):
- MATLAB.
- Numerical analysis--Data processing.
- Numerical analysis.
- Physical Description:
- 1 online resource (449 p.)
- Edition:
- 3rd ed.
- Place of Publication:
- Amsterdam ; London : Butterworth Heinemann, 2007.
- Language Note:
- English
- System Details:
- text file
- Summary:
- The essential guide to MATLAB as a problem solving toolThis text presents MATLAB both as a mathematical tool and a programming language, giving a concise and easy to master introduction to its potential and power. Stressing the importance of a structured approach to problem solving, the text gives a step-by-step method for program design and algorithm development. The fundamentals of MATLAB are illustrated throughout with many examples from a wide range of familiar scientific and engineering areas, as well as from everyday life.Features: Includes MATLAB Version
- Contents:
- Cover; Copyright Page; Contents; Preface to the third edition; PART I: ESSENTIALS; Chapter 1 Introduction; 1.1 Using MATLAB; 1.2 The MATLAB desktop; 1.3 Sample program; 1.3.1 Cut and paste; 1.3.2 Saving a program: script files; 1.3.3 How a program works; Chapter 2 MATLAB fundamentals; 2.1 Variables and the workspace; 2.1.1 Variables; 2.1.2 Case sensitivity; 2.1.3 The workspace; 2.1.4 Adding commonly used constants to the workspace; 2.2 Arrays: vectors and matrices; 2.2.1 Initializing vectors: explicit lists; 2.2.2 Initializing vectors: the colon operator; 2.2.3 linspace
- 2.2.4 Transposing vectors2.2.5 Subscripts; 2.2.6 Matrices; 2.2.7 Capturing output; 2.3 Vertical motion under gravity; 2.4 Operators, expressions and statements; 2.4.1 Numbers; 2.4.2 Data types; 2.4.3 Arithmetic operators; 2.4.4 Precedence of operators; 2.4.5 The colon operator; 2.4.6 The transpose operator; 2.4.7 Arithmetic operations on arrays; 2.4.8 Expressions; 2.4.9 Statements; 2.4.10 Statements, commands and functions; 2.4.11 Vectorization of formulae; 2.5 Output; 2.5.1 disp; 2.5.2 format; 2.5.3 Scale factors; 2.6 Repeating with for; 2.6.1 Square roots with Newton's method
- 2.6.2 Factorials!2.6.3 Limit of a sequence; 2.6.4 The basic for construct; 2.6.5 for in a single line; 2.6.6 More general for; 2.6.7 Avoid for loops by vectorizing!; 2.6.8 A common mistake: for less loops!; 2.7 Decisions; 2.7.1 The one-line if statement; 2.7.2 The if-else construct; 2.7.3 The one-line if-else statement; 2.7.4 elseif; 2.7.5 Logical operators; 2.7.6 Multiple ifs versus elseif; 2.7.7 Nested ifs; 2.7.8 Vectorizing ifs?; 2.7.9 switch; 2.8 Complex numbers; 2.9 More on input and output; 2.9.1 fprintf; 2.9.2 Output to a disk file with fprintf; 2.9.3 General file I/O
- 2.9.4 Saving and loading data2.10 Odds 'n ends; 2.10.1 Variables, functions and scripts with the same name; 2.10.2 The input statement; 2.10.3 Shelling out to the operating system; 2.10.4 More Help functions; 2.11 Programming style; Chapter 3 Program design and algorithm development; 3.1 Computer program design process; 3.1.1 Projectile problem example; 3.2 Other examples of structure plans; 3.2.1 Quadratic equation; 3.3 Structured programming with functions; Chapter 4 MATLAB functions & *data import-export utilities; 4.1 Some common functions; 4.2 *Importing and exporting data
- 4.2.1 The load and save commands4.2.2 Exporting text (ASCII) data; 4.2.3 Importing text (ASCII) data; 4.2.4 Exporting binary data; 4.2.5 The Import Wizard; 4.2.6 Low-level file I/O functions; 4.2.7 Other import/export functions; Chapter 5 Logical vectors; 5.1 Examples; 5.1.1 Discontinuous graphs; 5.1.2 Avoiding division by zero; 5.1.3 Avoiding infinity; 5.1.4 Counting random numbers; 5.1.5 Rolling dice; 5.2 Logical operators; 5.2.1 Operator precedence; 5.2.2 Danger; 5.2.3 Logical operators and vectors; 5.3 Subscripting with logical vectors; 5.4 Logical functions; 5.4.1 Using any and all
- 5.5 Logical vectors instead of elseif ladders
- Notes:
- Includes index.
- ISBN:
- 1-280-96232-1
- 9786610962327
- 0-08-047150-1
- OCLC:
- 134968698
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.