Matlab by example programming basics

MATLAB By Example guides the reader through each step of writing MATLAB programs. The book assumes no previous programming experience on the part of the reader, and uses multiple examples in clear language to introduce concepts and practical tools. Straightforward and detailed instructions allow be...

Descripción completa

Detalles Bibliográficos
Autor principal: Gdeisat, Munther (-)
Otros Autores: Lilley, Francis, author (author)
Formato: Libro electrónico
Idioma:Inglés
Publicado: Boston, Mass. : Elsevier 2013.
London : 2013.
Edición:1st ed
Colección:Elsevier insights
Elsevier insights.
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009628593106719
Tabla de Contenidos:
  • Front Cover; Matlab by Example: Programming Basics; Copyright Page; Contents; Preface; Acknowledgments; Why This Book Is Different; How This Book Is Organized; 1 Matlab Integrated Development Environment; Lesson 1.1 Basics of the Matlab Integrated Development Environment; 1.1.1 Matlab Integrated Development Environment; 1.1.2 Creating Scalar Variables; 1.1.3 Creating Vector Variables; 1.1.4 Creating Array Variables; Lesson 1.2 Matlab Script Files; 1.2.1 Creating a Script File; 1.2.2 Naming a Script File; 1.2.3 Saving a Script File; 1.2.4 Executing a Script File; 1.2.5 Matlab Code Readability
  • 1.2.6 Commenting Matlab CodeLesson 1.3 Matlab Editor-Cell Mode; 1.3.1 Enabling Cell Mode; 1.3.2 Separating a Program into Cells; 1.3.3 Evaluating Code in a Cell; Answers to Selected Exercises; Lesson 1.2; Exercise 1; Exercise 2; 2 Scalars in Matlab; Lesson 2.1 Creating and Naming Matlab Scalar Variables; 2.1.1 Matlab Special Variables; 2.1.1.1 Using Matlab Special Variables; 2.1.1.2 Changing the Values of Matlab Special Variables; 2.1.2 User-Defined Variables; 2.1.2.1 Naming a User-Defined Variable; 2.1.2.2 Matlab is Case Sensitive; 2.1.2.3 Clearing a User-Defined Variable
  • Lesson 2.2 Approximation of Numbers and Discrete Mathematical Operations2.2.1 Approximating Numbers; 2.2.1.1 round Function; 2.2.1.2 fix Function; 2.2.1.3 ceil Function; 2.2.1.4 floor Function; 2.2.2 Discrete Mathematical Operations; 2.2.2.1 Factorizing a Number; 2.2.2.2 Greatest Common Divisor; 2.2.2.3 Least Common Multiple; Lesson 2.3 Mathematical Expressions for Scalar Variables; 2.3.1 Creating Variables; 2.3.2 Precedence of Mathematical Operations; 2.3.3 From Mathematical Expressions to Matlab Expressions; 2.3.4 From Matlab Expressions to Mathematical Expressions; 2.3.5 Exercises
  • Lesson 2.4 Relational and Logical Operations for Scalar Variables2.4.1 The logical Class; 2.4.2 The Relational Operators; 2.4.3 The Logical Operators; 2.4.3.1 AND "&" Logical Operator; 2.4.3.2 OR "|" Logical Operator; 2.4.3.3 NOT "~" Logical Operator; 2.4.4 Combining Logical and Rational Operators; Lesson 2.5 Complex Scalar Variables; 2.5.1 Introduction; 2.5.2 Creating Complex Scalar Variables; 2.5.3 Addition of Complex Numbers; 2.5.4 Subtraction of Complex Numbers; 2.5.5 Multiplication of Complex Numbers; 2.5.6 Division of Complex Numbers; 2.5.7 Conjugate of a Complex Number
  • 2.5.8 Modulus and Angle of a Complex Number2.5.9 Plotting a Complex Number in Cartesian Coordinates; 2.5.10 Plotting a Complex Number in Polar Coordinates; Answers to Selected Exercises; Lesson 2.1; Exercise 1; Lesson 2.4; 3 Vectors in Matlab; Lesson 3.1 Creating Vectors; 3.1.1 Introduction; 3.1.2 Method 1: Creating Vectors Manually; 3.1.2.1 Creating Row Vectors Manually; 3.1.2.2 Creating Column Vectors Manually; 3.1.2.3 Transpose Operation; 3.1.2.4 Determining the Number of Elements in a Vector; 3.1.2.5 Converting a Vector to a Column Vector
  • 3.1.3 Method 2: Creating Vectors Using the Linear Method