Titre : |
Programming Tools PT 2 : (MATLAB) |
Type de document : |
texte imprimé |
Auteurs : |
Assma Leulmi, Auteur |
Année de publication : |
2025 |
Importance : |
1 vol (117 p.) |
Format : |
29 cm |
Langues : |
Français (fre) |
Catégories : |
Publications pédagogiques:Mathématiaue P/P
|
Mots-clés : |
MATLAB Vectors Matrices Graphs Data visualization : Matlab |
Index. décimale : |
510-Mathématique |
Note de contenu : |
Table of Contents
Introduction ....................................................................... 1
Chapter I: Introduction to the Matlab environment ................................... 3
1. Introduction and Opening a Matlab Session: ....................................... 3
1. General: .......................................................................... 3
2. MATLAB environnement:.............................................................. 4
A. Editor/Debugger: .................................................................. 6
B. M-Files:............................................................................ 6
D. Help: ............................................................................. 8
2.1 First interaction with MATLAB:.................................................... 9
2.2 The numbers in MATLAB:............................................................ 11
2.3 The main constants, functions and commands:........................................14
2.4 The priority of operations in an expression: ...................................... 15
TP1........................................................................................ 17
Exercice 01: ............................................................................ 17
Exercice 02: ............................................................................. 17
Exercice 03: ............................................................................. 18
Exercice 04: ............................................................................. 18
Solution TP 1 ............................................................................ 21
Chapter II: Vectors and Matrices ........................................................ 21
1. The vectors: .......................................................................... 21
1.1 Referencing and access to vector elements: ........................................... 23
1.2 Element-by-element operations for vectors: ............................................24
1.3 The linspace function: ............................................................... 25
2. The matrices: ......................................................................... 26
2.1 Referencing and access to matrix elements: ........................................... 28
2.2 Automatic generation of matrices:..................................................... 30
Example 1: ............................................................................... 32
Example 2: ............................................................................... 32
2.3 Basic operations on the matrices: .................................................... 32
2.4 Useful functions for matrix processing:............................................... 33
TP2......................................................................................... 36
Exercice 01: ............................................................................36
Exercice 02: ............................................................................. 36
Exercice 03: .............................................................................. 36
Exercice 04: .............................................................................. 37
Exercice 05: .............................................................................37
Exercice 06: ............................................................................37
Exercice 07: .......................................................................... 38
Solution TP 2 .......................................................................... 39
Chapter III: Introduction to programming with Matlab................................. 45
1. General: ......................................................................... 45
1.1 Comments:......................................................................... 45
1.2 Writing long expressions:......................................................... 45
1.3 Reading data in a program (Inputs): ............................................. 46
1.4 Writing data in a program (Outputs): ............................................46
2. Logical expressions: ............................................................ 47
2.1 Logical operations: ........................................................... 47
2.2 Matrix comparison: ............................................................. 50
3. Flow control structures: ........................................................ 51
3.1 The if statement: ............................................................ 52
3.2 The switch statement:........................................................ 54
3.3 The for statement:......................................................... 55
3.4 The while statement: ..................................................... 56
Example of a for loop in MATLAB: ........................................... 57
Replacing the for loop with a while loop in MATLAB: ......................... 57
4. Summary the control structures: ............................................. 58
5. Summary exercise: ..........................................................59
6. The functions: .............................................................. 60
6.1 Creating a function in an M-Files: ......................................... 60
6.2 Comparison between a program is a function: ................................. 61
6.3 Exercices with Solution:...................................................... 64
7. Polynomials: .................................................................... 78
7.1 Polynomials in MATLAB: ......................................................... 78
7.2 Polynomial zeros:................................................................ 78
7.3 Polynomial operations:............................................................ 78
Chapter V: Graphs and data visualization in Matlab....................................... 80
1. The plot function: .................................................................81
2. Change the appearance of a curve: .................................................. 83
3. Annotation of a figure: .............................................................. 84
4. Draw multiple curves in the same figure: ........................................... 84
4.1 The hold command:................................................................. 84
4.2 Use plot with multiple arguments: ................................................. 85
4.3 Using matrices as argument for the plot function: ............................ 86
4.4 Using the fplot function: ................................................86
5. Manipulating the axes of a figure: ......................................... 87
6. Other types of graphs: ....................................................... 89
7. Transfer figures to a Word document: ...................................... 92
8. Figure Editor: .................................................. 93
Exercice: .................................................................. 94
9. Symbolic Calculation:...........................................................95
9.1 Calling the symbolic toolbox: ......................................... 95
9.2 Expanding and transforming expressions: ............................ 95
9.3 Derivatives and integrals of a function: .................................... 95
9.4 Taylor series expansion of a function: .............................................. 95
TP3................................................................................... 96
Exercice 01: ........................................................................ 96
Exercice 02: ............................................................................ 94
Exercice 03: ................................................................ 96
Exercice 04: ........................................................ 95
Exercice 05: .................................................. 97
Exercice 06: ................................................... 97
Exercice 07: ..................................................................... 98
Solution TP 3 ....................................................... 99
Command Catalogue ........................................................ 108
Content of the subject ........................................... 114
Bibliography ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 117 |
Côte titre : |
PM/0036 |
En ligne : |
http://dspace.univ-setif.dz:8888/jspui/handle/123456789/5317 |
Programming Tools PT 2 : (MATLAB) [texte imprimé] / Assma Leulmi, Auteur . - 2025 . - 1 vol (117 p.) ; 29 cm. Langues : Français ( fre)
Catégories : |
Publications pédagogiques:Mathématiaue P/P
|
Mots-clés : |
MATLAB Vectors Matrices Graphs Data visualization : Matlab |
Index. décimale : |
510-Mathématique |
Note de contenu : |
Table of Contents
Introduction ....................................................................... 1
Chapter I: Introduction to the Matlab environment ................................... 3
1. Introduction and Opening a Matlab Session: ....................................... 3
1. General: .......................................................................... 3
2. MATLAB environnement:.............................................................. 4
A. Editor/Debugger: .................................................................. 6
B. M-Files:............................................................................ 6
D. Help: ............................................................................. 8
2.1 First interaction with MATLAB:.................................................... 9
2.2 The numbers in MATLAB:............................................................ 11
2.3 The main constants, functions and commands:........................................14
2.4 The priority of operations in an expression: ...................................... 15
TP1........................................................................................ 17
Exercice 01: ............................................................................ 17
Exercice 02: ............................................................................. 17
Exercice 03: ............................................................................. 18
Exercice 04: ............................................................................. 18
Solution TP 1 ............................................................................ 21
Chapter II: Vectors and Matrices ........................................................ 21
1. The vectors: .......................................................................... 21
1.1 Referencing and access to vector elements: ........................................... 23
1.2 Element-by-element operations for vectors: ............................................24
1.3 The linspace function: ............................................................... 25
2. The matrices: ......................................................................... 26
2.1 Referencing and access to matrix elements: ........................................... 28
2.2 Automatic generation of matrices:..................................................... 30
Example 1: ............................................................................... 32
Example 2: ............................................................................... 32
2.3 Basic operations on the matrices: .................................................... 32
2.4 Useful functions for matrix processing:............................................... 33
TP2......................................................................................... 36
Exercice 01: ............................................................................36
Exercice 02: ............................................................................. 36
Exercice 03: .............................................................................. 36
Exercice 04: .............................................................................. 37
Exercice 05: .............................................................................37
Exercice 06: ............................................................................37
Exercice 07: .......................................................................... 38
Solution TP 2 .......................................................................... 39
Chapter III: Introduction to programming with Matlab................................. 45
1. General: ......................................................................... 45
1.1 Comments:......................................................................... 45
1.2 Writing long expressions:......................................................... 45
1.3 Reading data in a program (Inputs): ............................................. 46
1.4 Writing data in a program (Outputs): ............................................46
2. Logical expressions: ............................................................ 47
2.1 Logical operations: ........................................................... 47
2.2 Matrix comparison: ............................................................. 50
3. Flow control structures: ........................................................ 51
3.1 The if statement: ............................................................ 52
3.2 The switch statement:........................................................ 54
3.3 The for statement:......................................................... 55
3.4 The while statement: ..................................................... 56
Example of a for loop in MATLAB: ........................................... 57
Replacing the for loop with a while loop in MATLAB: ......................... 57
4. Summary the control structures: ............................................. 58
5. Summary exercise: ..........................................................59
6. The functions: .............................................................. 60
6.1 Creating a function in an M-Files: ......................................... 60
6.2 Comparison between a program is a function: ................................. 61
6.3 Exercices with Solution:...................................................... 64
7. Polynomials: .................................................................... 78
7.1 Polynomials in MATLAB: ......................................................... 78
7.2 Polynomial zeros:................................................................ 78
7.3 Polynomial operations:............................................................ 78
Chapter V: Graphs and data visualization in Matlab....................................... 80
1. The plot function: .................................................................81
2. Change the appearance of a curve: .................................................. 83
3. Annotation of a figure: .............................................................. 84
4. Draw multiple curves in the same figure: ........................................... 84
4.1 The hold command:................................................................. 84
4.2 Use plot with multiple arguments: ................................................. 85
4.3 Using matrices as argument for the plot function: ............................ 86
4.4 Using the fplot function: ................................................86
5. Manipulating the axes of a figure: ......................................... 87
6. Other types of graphs: ....................................................... 89
7. Transfer figures to a Word document: ...................................... 92
8. Figure Editor: .................................................. 93
Exercice: .................................................................. 94
9. Symbolic Calculation:...........................................................95
9.1 Calling the symbolic toolbox: ......................................... 95
9.2 Expanding and transforming expressions: ............................ 95
9.3 Derivatives and integrals of a function: .................................... 95
9.4 Taylor series expansion of a function: .............................................. 95
TP3................................................................................... 96
Exercice 01: ........................................................................ 96
Exercice 02: ............................................................................ 94
Exercice 03: ................................................................ 96
Exercice 04: ........................................................ 95
Exercice 05: .................................................. 97
Exercice 06: ................................................... 97
Exercice 07: ..................................................................... 98
Solution TP 3 ....................................................... 99
Command Catalogue ........................................................ 108
Content of the subject ........................................... 114
Bibliography ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 117 |
Côte titre : |
PM/0036 |
En ligne : |
http://dspace.univ-setif.dz:8888/jspui/handle/123456789/5317 |
|