Essential Java for scientists and engineers / / Brian D. Hahn, Katherine M. Malan
| Essential Java for scientists and engineers / / Brian D. Hahn, Katherine M. Malan |
| Autore | Hahn Brian D |
| Edizione | [1st ed.] |
| Pubbl/distr/stampa | Oxford ; ; Boston, : Butterworth-Heinemann, 2002 |
| Descrizione fisica | 1 online resource (355 p.) |
| Disciplina | 005.71262024 |
| Altri autori (Persone) | MalanKatherine M |
| Soggetto topico |
Java (Computer program language)
Science - Data processing Engineering - Data processing |
| ISBN |
9786612381300
9781282381308 128238130X 9780080505916 0080505910 |
| Formato | Materiale a stampa |
| Livello bibliografico | Monografia |
| Lingua di pubblicazione | eng |
| Nota di contenuto |
Front Cover; Essential Java for Scientists and Engineers; Copyright Page; Contents; Preface; Acknowledgements; Part l: Essentials; Chapter 1. Getting going; 1.1 Introduction to programming; 1.2 Setting up your computer for programming in Java; 1.3 Writing your first Java program; 1.4 Input and output; 1.5 Comments; 1.6 Using objects; 1.7 Java on the WWW (optional); Chapter 2. Java programming basics; 2.1 Compound interest again; 2.2 Primitive data types; 2.3 Names; 2.4 Vertical motion under gravity; 2.5 Operators, expressions and assignments; 2.6 Repeating with for; 2.7 Deciding with if
2.8 Characters2.9 Math methods; 2.10 Programming style; Chapter 3. Solving a problem in Java; 3.1 Introduction; 3.2 The class provider, class user and end user; 3.3 What are objects and classes?; 3.4 Writing and using a simple class; 3.5 How memory works; 3.6 The String class; 3.7 Understanding methods; 3.8 Example: simulating a rabbit colony; 3.9 Access modifiers; 3.10 Example: simulating the growth of trees; 3.11 Scope; 3.12 More on object handles; 3.13 The static keyword; 3.14 Naming conventions; 3.15 Using the Java API; 3.16 Making your own package (optional); Chapter 4. More on loops 4.1 Determinate repetition with for4.2 Indeterminate repetition with while; Chapter 5. Debugging; 5.1 Compilation errors; 5.2 Run-time errors; 5.3 Errors in logic; 5.4 Rounding errors; Chapter 6. Arrays and matrices; 6.1 Introduction; 6.2 The basics of arrays; 6.3 Passing arrays to methods; 6.4 Frequency distributions: a simple bar chart; 6.5 Multi-dimensional arrays; 6.6 Arrays of objects; 6.7 Sorting an array; Part II: More advanced topics; Chapter 7. Inheritance; 7.1 Introduction; 7.2 Inheritance in Java; 7.3 Constructors and inheritance; 7.4 The Object class 7.5 Abstract classes and interfacesChapter 8. Graphical user interfaces (GUIs); 8.1 Introduction; 8.2 Building a Swing application; 8.3 Arranging components; 8.4 A colour chooser application; 8.5 Painting; 8.6 Drawing mathematical graphs; 8.7 Fractals; Chapter 9. Input/output; 9.1 Introduction; 9.2 Input through command line parameters; 9.3 Input from the keyboard without the essential package; 9.4 Streams; 9.5 File input/output; 9.6 Manipulating data; 9.7 Streams and the Internet; Chapter 10. Exceptions; 10.1 Introduction; 10.2 Exceptions in Java; 10.3 Throwing exceptions 10.4 Handling exceptions10.5 Exceptions and file input; Part III: Some applications; Chapter 11. Simulation; 11.1 Random number generation; 11.2 Spinning coins; 11.3 Rolling dice; 11.4 Bacteria division; 11.5 Radioactive decay; 11.6 A random walk; 11.7 Traffic flow; Chapter 12. Modelling with matrices; 12.1 Using the Matrix class; 12.2 Networks; 12.3 Leslie matrices: population growth; 12.4 Markov processes; 12.5 Linear equations; Chapter 13. Introduction to numerical methods; 13.1 Equations; 13.2 Numerical differentiation; 13.3 Integration; 13.4 First-order differential equations 13.5 Runge-Kutta methods |
| Record Nr. | UNINA-9910970360603321 |
Hahn Brian D
|
||
| Oxford ; ; Boston, : Butterworth-Heinemann, 2002 | ||
| Lo trovi qui: Univ. Federico II | ||
| ||
Essential MATLAB for engineers and scientists [[electronic resource] /] / Brian H. Hahn, Daniel T. Valentine
| Essential MATLAB for engineers and scientists [[electronic resource] /] / Brian H. Hahn, Daniel T. Valentine |
| Autore | Hahn Brian D |
| Edizione | [5th ed.] |
| Pubbl/distr/stampa | Amsterdam ; ; Boston, : Elsevier, c2013 |
| Descrizione fisica | 1 online resource (425 p.) |
| Disciplina | 620.00285536 |
| Altri autori (Persone) | ValentineD. T. <1946-> |
| Soggetto topico | Numerical analysis - Data processing |
| Soggetto genere / forma | Electronic books. |
| ISBN |
1-283-95060-X
0-12-394613-1 |
| Formato | Materiale a stampa |
| Livello bibliografico | Monografia |
| Lingua di pubblicazione | eng |
| Nota di contenuto |
Half Title; Title Page; Copyright; Contents; Preface; Essentials; 1 Introduction; 1.1 Using MATLAB; 1.1.1 Arithmetic; 1.1.2 Variables; 1.1.3 Mathematical functions; 1.1.4 Functions and commands; 1.1.5 Vectors; 1.1.6 Linear equations; 1.1.7 Tutorials and demos; 1.2 The desktop; 1.2.1 Using the Editor and running a script; 1.2.2 Help, publish, and view; 1.2.3 Symbolics and the MuPAD notebook APP; Differentiation and integration; 1.2.4 Other APPS; 1.2.5 Additional features; 1.3 Sample program; 1.3.1 Cut and paste; 1.3.2 Saving a program: script files; Current directory
Running a script from the current folder browser1.3.3 A program in action; Summary; Chapter exercises; 2 MATLAB Fundamentals; 2.1 Variables; 2.1.1 Case sensitivity; 2.2 The workspace; 2.2.1 Adding commonly used constants to the workspace; 2.3 Arrays: Vectors and matrices; 2.3.1 Initializing vectors: Explicit lists; 2.3.2 Remember the following important rules; 2.3.2 Initializing vectors: The colon operator; 2.3.3 The linspace and logspace functions; 2.3.4 Transposing vectors; 2.3.5 Subscripts; 2.3.6 Matrices; 2.3.7 Capturing output; 2.3.8 Structure plan; 2.4 Vertical motion under gravity 2.5 Operators, expressions, and statements2.5.1 Numbers; 2.5.2 Data types; 2.5.3 Arithmetic operators; 2.5.4 Operator precedence; 2.5.5 The colon operator; 2.5.6 The transpose operator; 2.5.7 Arithmetic operations on arrays; 2.5.8 Expressions; 2.5.9 Statements; 2.5.10 Statements, commands, and functions; 2.5.11 Formula vectorization; 2.6 Output; 2.6.1 The disp statement; 2.6.2 The format command; 2.6.3 Scale factors; 2.7 Repeating with for; 2.7.1 Square roots with Newton's method; 2.7.2 Factorials!; 2.7.3 Limit of a sequence; 2.7.4 The basic for construct; 2.7.5 for in a single line 2.7.6 More general for2.7.7 Avoid for loops by vectorizing!; 2.8 Decisions; 2.8.1 The one-line if statement; 2.8.2 The if-else construct; 2.8.3 The one-line if-else statement; 2.8.4 elseif; 2.8.5 Logical operators; 2.8.6 Multiple ifs versus elseif; 2.8.7 Nested ifs; 2.8.8 Vectorizing ifs?; 2.8.9 The switch statement; 2.9 Complex numbers; Summary; Chapter exercises; 3 Program Design and Algorithm Development; 3.1 The program design process; 3.1.1 The projectile problem; 3.2 Programming MATLAB functions; 3.2.1 Inline objects: harmonic oscillators; 3.2.2 MATLAB function: y = f(x); Summary Chapter exercises4 MATLAB Functions and Data Import-Export Utilities; 4.1 Common functions; 4.2 Importing and exporting data; 4.2.1 The load and save commands; 4.2.2 Exporting text (ASCII) data; 4.2.3 Importing text (ASCII) data; 4.2.4 Exporting binary data; 4.2.4.1 Importing binary data; Summary; Chapter exercises; 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 |
| Record Nr. | UNINA-9910462821603321 |
Hahn Brian D
|
||
| Amsterdam ; ; Boston, : Elsevier, c2013 | ||
| Lo trovi qui: Univ. Federico II | ||
| ||
Essential MATLAB for engineers and scientists / / Brian H. Hahn, Daniel T. Valentine
| Essential MATLAB for engineers and scientists / / Brian H. Hahn, Daniel T. Valentine |
| Autore | Hahn Brian D |
| Edizione | [5th ed.] |
| Pubbl/distr/stampa | Amsterdam ; ; Boston, : Elsevier, c2013 |
| Descrizione fisica | 1 online resource (xvi, 408 pages) : illustrations (some color) |
| Disciplina | 620.00285536 |
| Collana | Gale eBooks |
| Soggetto topico | Engineering mathematics - Data processing |
| ISBN |
1-283-95060-X
0-12-394613-1 |
| Formato | Materiale a stampa |
| Livello bibliografico | Monografia |
| Lingua di pubblicazione | eng |
| Nota di contenuto |
Half Title; Title Page; Copyright; Contents; Preface; Essentials; 1 Introduction; 1.1 Using MATLAB; 1.1.1 Arithmetic; 1.1.2 Variables; 1.1.3 Mathematical functions; 1.1.4 Functions and commands; 1.1.5 Vectors; 1.1.6 Linear equations; 1.1.7 Tutorials and demos; 1.2 The desktop; 1.2.1 Using the Editor and running a script; 1.2.2 Help, publish, and view; 1.2.3 Symbolics and the MuPAD notebook APP; Differentiation and integration; 1.2.4 Other APPS; 1.2.5 Additional features; 1.3 Sample program; 1.3.1 Cut and paste; 1.3.2 Saving a program: script files; Current directory
Running a script from the current folder browser1.3.3 A program in action; Summary; Chapter exercises; 2 MATLAB Fundamentals; 2.1 Variables; 2.1.1 Case sensitivity; 2.2 The workspace; 2.2.1 Adding commonly used constants to the workspace; 2.3 Arrays: Vectors and matrices; 2.3.1 Initializing vectors: Explicit lists; 2.3.2 Remember the following important rules; 2.3.2 Initializing vectors: The colon operator; 2.3.3 The linspace and logspace functions; 2.3.4 Transposing vectors; 2.3.5 Subscripts; 2.3.6 Matrices; 2.3.7 Capturing output; 2.3.8 Structure plan; 2.4 Vertical motion under gravity 2.5 Operators, expressions, and statements2.5.1 Numbers; 2.5.2 Data types; 2.5.3 Arithmetic operators; 2.5.4 Operator precedence; 2.5.5 The colon operator; 2.5.6 The transpose operator; 2.5.7 Arithmetic operations on arrays; 2.5.8 Expressions; 2.5.9 Statements; 2.5.10 Statements, commands, and functions; 2.5.11 Formula vectorization; 2.6 Output; 2.6.1 The disp statement; 2.6.2 The format command; 2.6.3 Scale factors; 2.7 Repeating with for; 2.7.1 Square roots with Newton's method; 2.7.2 Factorials!; 2.7.3 Limit of a sequence; 2.7.4 The basic for construct; 2.7.5 for in a single line 2.7.6 More general for2.7.7 Avoid for loops by vectorizing!; 2.8 Decisions; 2.8.1 The one-line if statement; 2.8.2 The if-else construct; 2.8.3 The one-line if-else statement; 2.8.4 elseif; 2.8.5 Logical operators; 2.8.6 Multiple ifs versus elseif; 2.8.7 Nested ifs; 2.8.8 Vectorizing ifs?; 2.8.9 The switch statement; 2.9 Complex numbers; Summary; Chapter exercises; 3 Program Design and Algorithm Development; 3.1 The program design process; 3.1.1 The projectile problem; 3.2 Programming MATLAB functions; 3.2.1 Inline objects: harmonic oscillators; 3.2.2 MATLAB function: y = f(x); Summary Chapter exercises4 MATLAB Functions and Data Import-Export Utilities; 4.1 Common functions; 4.2 Importing and exporting data; 4.2.1 The load and save commands; 4.2.2 Exporting text (ASCII) data; 4.2.3 Importing text (ASCII) data; 4.2.4 Exporting binary data; 4.2.4.1 Importing binary data; Summary; Chapter exercises; 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 |
| Record Nr. | UNINA-9910786170703321 |
Hahn Brian D
|
||
| Amsterdam ; ; Boston, : Elsevier, c2013 | ||
| Lo trovi qui: Univ. Federico II | ||
| ||
Essential MATLAB for engineers and scientists / / Brian H. Hahn, Daniel T. Valentine
| Essential MATLAB for engineers and scientists / / Brian H. Hahn, Daniel T. Valentine |
| Autore | Hahn Brian D |
| Edizione | [5th ed.] |
| Pubbl/distr/stampa | Amsterdam ; ; Boston, : Elsevier, c2013 |
| Descrizione fisica | 1 online resource (xvi, 408 pages) : illustrations (some color) |
| Disciplina | 620.00285536 |
| Collana | Gale eBooks |
| Soggetto topico | Engineering mathematics - Data processing |
| ISBN |
1-283-95060-X
0-12-394613-1 |
| Formato | Materiale a stampa |
| Livello bibliografico | Monografia |
| Lingua di pubblicazione | eng |
| Nota di contenuto |
Half Title; Title Page; Copyright; Contents; Preface; Essentials; 1 Introduction; 1.1 Using MATLAB; 1.1.1 Arithmetic; 1.1.2 Variables; 1.1.3 Mathematical functions; 1.1.4 Functions and commands; 1.1.5 Vectors; 1.1.6 Linear equations; 1.1.7 Tutorials and demos; 1.2 The desktop; 1.2.1 Using the Editor and running a script; 1.2.2 Help, publish, and view; 1.2.3 Symbolics and the MuPAD notebook APP; Differentiation and integration; 1.2.4 Other APPS; 1.2.5 Additional features; 1.3 Sample program; 1.3.1 Cut and paste; 1.3.2 Saving a program: script files; Current directory
Running a script from the current folder browser1.3.3 A program in action; Summary; Chapter exercises; 2 MATLAB Fundamentals; 2.1 Variables; 2.1.1 Case sensitivity; 2.2 The workspace; 2.2.1 Adding commonly used constants to the workspace; 2.3 Arrays: Vectors and matrices; 2.3.1 Initializing vectors: Explicit lists; 2.3.2 Remember the following important rules; 2.3.2 Initializing vectors: The colon operator; 2.3.3 The linspace and logspace functions; 2.3.4 Transposing vectors; 2.3.5 Subscripts; 2.3.6 Matrices; 2.3.7 Capturing output; 2.3.8 Structure plan; 2.4 Vertical motion under gravity 2.5 Operators, expressions, and statements2.5.1 Numbers; 2.5.2 Data types; 2.5.3 Arithmetic operators; 2.5.4 Operator precedence; 2.5.5 The colon operator; 2.5.6 The transpose operator; 2.5.7 Arithmetic operations on arrays; 2.5.8 Expressions; 2.5.9 Statements; 2.5.10 Statements, commands, and functions; 2.5.11 Formula vectorization; 2.6 Output; 2.6.1 The disp statement; 2.6.2 The format command; 2.6.3 Scale factors; 2.7 Repeating with for; 2.7.1 Square roots with Newton's method; 2.7.2 Factorials!; 2.7.3 Limit of a sequence; 2.7.4 The basic for construct; 2.7.5 for in a single line 2.7.6 More general for2.7.7 Avoid for loops by vectorizing!; 2.8 Decisions; 2.8.1 The one-line if statement; 2.8.2 The if-else construct; 2.8.3 The one-line if-else statement; 2.8.4 elseif; 2.8.5 Logical operators; 2.8.6 Multiple ifs versus elseif; 2.8.7 Nested ifs; 2.8.8 Vectorizing ifs?; 2.8.9 The switch statement; 2.9 Complex numbers; Summary; Chapter exercises; 3 Program Design and Algorithm Development; 3.1 The program design process; 3.1.1 The projectile problem; 3.2 Programming MATLAB functions; 3.2.1 Inline objects: harmonic oscillators; 3.2.2 MATLAB function: y = f(x); Summary Chapter exercises4 MATLAB Functions and Data Import-Export Utilities; 4.1 Common functions; 4.2 Importing and exporting data; 4.2.1 The load and save commands; 4.2.2 Exporting text (ASCII) data; 4.2.3 Importing text (ASCII) data; 4.2.4 Exporting binary data; 4.2.4.1 Importing binary data; Summary; Chapter exercises; 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 |
| Record Nr. | UNINA-9910825628503321 |
Hahn Brian D
|
||
| Amsterdam ; ; Boston, : Elsevier, c2013 | ||
| Lo trovi qui: Univ. Federico II | ||
| ||
Essential MATLAB for engineers and scientists [[electronic resource] /] / Brian H. Hahn, Daniel T. Valentine
| Essential MATLAB for engineers and scientists [[electronic resource] /] / Brian H. Hahn, Daniel T. Valentine |
| Autore | Hahn Brian D |
| Edizione | [4th ed.] |
| Pubbl/distr/stampa | Burlington, MA, : Academic Press, c2010 |
| Descrizione fisica | 1 online resource (411 p.) |
| Disciplina |
510.001251825
620.002855369 |
| Altri autori (Persone) | ValentineD. T. <1946-> |
| Soggetto topico | Numerical analysis - Data processing |
| Soggetto genere / forma | Electronic books. |
| ISBN |
1-282-55257-0
9786612552571 0-08-095211-9 |
| Formato | Materiale a stampa |
| Livello bibliografico | Monografia |
| Lingua di pubblicazione | eng |
| Nota di contenuto |
Front Cover; Title Page; Copyright Page; Table of Contents; Preface; Part 1: Essentials; Chapter 1. Introduction; 1.1 Using MATLAB; 1.1.1 Arithmetic; 1.1.2 Variables; 1.1.3 Mathematical functions; 1.1.4 Functions and commands; 1.1.5 Vectors; 1.1.6 Linear equations; 1.1.7 Demo; 1.1.8 Help; 1.1.9 Additional features; 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 A program in action; Summary; Chapter Exercises; Chapter 2. MATLAB Fundamentals; 2.1 Variables; 2.1.1 Case sensitivity; 2.2 The Workspace
2.2.1 Adding commonly used constants to the workspace2.3 Arrays: Vectors and Matrices; 2.3.1 Initializing vectors: Explicit lists; 2.3.2 Initializing vectors: The colon operator; 2.3.3 The linspace function; 2.3.4 Transposing vectors; 2.3.5 Subscripts; 2.3.6 Matrices; 2.3.7 Capturing output; 2.4 Vertical Motion Under Gravity; 2.5 Operators, Expressions, and Statements; 2.5.1 Numbers; 2.5.2 Data types; 2.5.3 Arithmetic operators; 2.5.4 Operator precedence; 2.5.5 The colon operator; 2.5.6 The transpose operator; 2.5.7 Arithmetic operations on arrays; 2.5.8 Expressions; 2.5.9 Statements 2.5.10 Statements, commands, and functions2.5.11 Formula vectorization; 2.6 Output; 2.6.1 The disp statement; 2.6.2 The format command; 2.6.3 Scale factors; 2.7 Repeating with for; 2.7.1 Square roots with Newton's method; 2.7.2 Factorials!; 2.7.3 Limit of a sequence; 2.7.4 The basic for construct; 2.7.5 for in a single line; 2.7.6 More general for; 2.7.7 Avoid for loops by vectorizing!; 2.8 Decisions; 2.8.1 The one-line if statement; 2.8.2 The if-else construct; 2.8.3 The one-line if-else statement; 2.8.4 elseif; 2.8.5 Logical operators; 2.8.6 Multiple ifs versus elseif; 2.8.7 Nested ifs 2.8.8 Vectorizing ifs?2.8.9 The switch statement; 2.9 Complex Numbers; 2.10 More on Input and Output; 2.10.1 fprintf; 2.10.2 Output to a disk file with fprintf; 2.10.3 General file I/O; 2.10.4 Saving and loading data; 2.11 Odds and Ends; 2.11.1 Variables, functions, and scripts with the same name; 2.11.2 The input statement; 2.11.3 Shelling out to the operating system; 2.11.4 More Help functions; 2.12 Programming Style; Summary; Chapter Exercises; Chapter 3. Program Design and Algorithm Development; 3.1 The Program Design Process; 3.1.1 The projectile problem; 3.2 Structure Plan Examples 3.2.1 Quadratic equation3.3 Structured Programming with Functions; Summary; Chapter Exercises; Chapter 4. MATLAB Functions and Data Import-Export Utilities; 4.1 Common Functions; 4.2 Importing and Exporting Data; 4.2.1 The load and save commands; 4.2.2 Exporting text (ASCII) data; 4.2.3 Importing text (ASCII) data; 4.2.4 Exporting and importing binary data; 4.2.5 The Import Wizard; 4.2.6 *Low-level file I/O functions; 4.2.7 *Other import/export functions; Summary; Chapter Exercises; Chapter 5. Logical Vectors; 5.1 Examples; 5.1.1 Discontinuous graphs; 5.1.2 Avoiding division by zero 5.1.3 Avoiding infinity |
| Record Nr. | UNINA-9910456180503321 |
Hahn Brian D
|
||
| Burlington, MA, : Academic Press, c2010 | ||
| Lo trovi qui: Univ. Federico II | ||
| ||
Essential MATLAB for engineers and scientists [[electronic resource] /] / Brian H. Hahn, Daniel T. Valentine
| Essential MATLAB for engineers and scientists [[electronic resource] /] / Brian H. Hahn, Daniel T. Valentine |
| Autore | Hahn Brian D |
| Edizione | [4th ed.] |
| Pubbl/distr/stampa | Burlington, MA, : Academic Press, c2010 |
| Descrizione fisica | 1 online resource (411 p.) |
| Disciplina |
510.001251825
620.002855369 |
| Altri autori (Persone) | ValentineD. T. <1946-> |
| Soggetto topico | Numerical analysis - Data processing |
| ISBN |
1-282-55257-0
9786612552571 0-08-095211-9 |
| Formato | Materiale a stampa |
| Livello bibliografico | Monografia |
| Lingua di pubblicazione | eng |
| Nota di contenuto |
Front Cover; Title Page; Copyright Page; Table of Contents; Preface; Part 1: Essentials; Chapter 1. Introduction; 1.1 Using MATLAB; 1.1.1 Arithmetic; 1.1.2 Variables; 1.1.3 Mathematical functions; 1.1.4 Functions and commands; 1.1.5 Vectors; 1.1.6 Linear equations; 1.1.7 Demo; 1.1.8 Help; 1.1.9 Additional features; 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 A program in action; Summary; Chapter Exercises; Chapter 2. MATLAB Fundamentals; 2.1 Variables; 2.1.1 Case sensitivity; 2.2 The Workspace
2.2.1 Adding commonly used constants to the workspace2.3 Arrays: Vectors and Matrices; 2.3.1 Initializing vectors: Explicit lists; 2.3.2 Initializing vectors: The colon operator; 2.3.3 The linspace function; 2.3.4 Transposing vectors; 2.3.5 Subscripts; 2.3.6 Matrices; 2.3.7 Capturing output; 2.4 Vertical Motion Under Gravity; 2.5 Operators, Expressions, and Statements; 2.5.1 Numbers; 2.5.2 Data types; 2.5.3 Arithmetic operators; 2.5.4 Operator precedence; 2.5.5 The colon operator; 2.5.6 The transpose operator; 2.5.7 Arithmetic operations on arrays; 2.5.8 Expressions; 2.5.9 Statements 2.5.10 Statements, commands, and functions2.5.11 Formula vectorization; 2.6 Output; 2.6.1 The disp statement; 2.6.2 The format command; 2.6.3 Scale factors; 2.7 Repeating with for; 2.7.1 Square roots with Newton's method; 2.7.2 Factorials!; 2.7.3 Limit of a sequence; 2.7.4 The basic for construct; 2.7.5 for in a single line; 2.7.6 More general for; 2.7.7 Avoid for loops by vectorizing!; 2.8 Decisions; 2.8.1 The one-line if statement; 2.8.2 The if-else construct; 2.8.3 The one-line if-else statement; 2.8.4 elseif; 2.8.5 Logical operators; 2.8.6 Multiple ifs versus elseif; 2.8.7 Nested ifs 2.8.8 Vectorizing ifs?2.8.9 The switch statement; 2.9 Complex Numbers; 2.10 More on Input and Output; 2.10.1 fprintf; 2.10.2 Output to a disk file with fprintf; 2.10.3 General file I/O; 2.10.4 Saving and loading data; 2.11 Odds and Ends; 2.11.1 Variables, functions, and scripts with the same name; 2.11.2 The input statement; 2.11.3 Shelling out to the operating system; 2.11.4 More Help functions; 2.12 Programming Style; Summary; Chapter Exercises; Chapter 3. Program Design and Algorithm Development; 3.1 The Program Design Process; 3.1.1 The projectile problem; 3.2 Structure Plan Examples 3.2.1 Quadratic equation3.3 Structured Programming with Functions; Summary; Chapter Exercises; Chapter 4. MATLAB Functions and Data Import-Export Utilities; 4.1 Common Functions; 4.2 Importing and Exporting Data; 4.2.1 The load and save commands; 4.2.2 Exporting text (ASCII) data; 4.2.3 Importing text (ASCII) data; 4.2.4 Exporting and importing binary data; 4.2.5 The Import Wizard; 4.2.6 *Low-level file I/O functions; 4.2.7 *Other import/export functions; Summary; Chapter Exercises; Chapter 5. Logical Vectors; 5.1 Examples; 5.1.1 Discontinuous graphs; 5.1.2 Avoiding division by zero 5.1.3 Avoiding infinity |
| Record Nr. | UNINA-9910780706203321 |
Hahn Brian D
|
||
| Burlington, MA, : Academic Press, c2010 | ||
| Lo trovi qui: Univ. Federico II | ||
| ||