Jul 20, 2024  
2022-2023 College Catalog 
    
2022-2023 College Catalog [ARCHIVED CATALOG]

ENG 205IN - Introduction to MATLAB II

1 Credits, 2 Contact Hours
.5 lecture periods 1.5 lab periods

Fundamental knowledge for problem solving and programming using MATLAB. Includes creating arrays, mathematical operations with 2-D arrays, curve fitting and interpolation, programing in MATLAB, functions and function files, three-dimensional plots, and solving a system of linear equations.

Prerequisite(s): ENG 105IN  or concurrent enrollment.
Information: IN is the integrated version of the course with the lecture and lab taught simultaneously.


Course Learning Outcomes
  1. Demonstrate the ability to create two-dimensional arrays and provide mathematical operations with 2D-arrays. 
  2. Demonstrate the ability to apply programming skills and techniques to solve engineering problems.
  3. Demonstrate the ability to generate 3-dimensional plots.

Outline:
  1. Creating Arrays
    1. Creating a two-dimensional array (matrix)
    2. Notes about variables in MATLAB
    3. The transpose operator
    4. Array addressing
    5. Using a colon (;) in addressing arrays
    6. Built-in functions for handling arrays
    7. Working with specific columns
    8. Working with specific rows
  2. Mathematical Operations with 2-D Arrays
    1. Adding/removing columns and/rows to/from a matrix
    2. Array multiplication
    3. Using arrays in MATLAB built-in math functions
    4. Built-in functions for analyzing arrays
    5. Generation of random numbers
    6. Inverse, determinant, adjoint, norm, eigenvalue, eigenvector
  3. Curve Fitting and Interpolation
    1. The basic fitting interface  
    2. Interpolation
  4. Programming in MATLAB
    1. Relational and logical operators (revisited)
    2. Conditional statements
    3. The switch-case statement
    4. Nested loops and nested conditional statements
    5. The break and continue commands
    6. Debugging MATLAB program, debug menu, using breakpoints
  5. Functions and Function Files
    1. Creating a function file
    2. Structure of a function file
    3. Local and global variables
    4. Saving a function file
    5. Inline functions
    6. Using a function file
    7. Examples of simple function files
    8. Comparison between script files and function files
    9.        The feval command
  6. Three-Dimensional Plots
    1. Mesh and surface plots
    2. Plots with special graphics
    3. The view command
  7. Solving a System  of Linear Equations