Mar 29, 2024  
2021-2022 College Catalog 
    
2021-2022 College Catalog [ARCHIVED CATALOG]

ENG 105IN - Introduction to MATLAB I

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

Fundamental knowledge and practical abilities in MATLAB utilizing technical numerical computations in engineering courses. Includes script files, creating arrays, mathematical operations with 1-D arrays, two dimensional plots, and polynomials.

Prerequisite(s): MAT 220  



Course Learning Outcomes
  1. Demonstrate the ability to use MATLAB for interactive computations.
  2. Demonstrate the ability to utilize a methodical approach to identify, formulate, and solve computational problems.
  3. Demonstrate the ability to generate plots and export them for use in reports and presentations.

Outline:
  1. Demonstrate the ability to use MATLAB for interactive computations.
  2. Demonstrate the ability to utilize a methodical approach to identify, formulate, and solve computational problems.
  3. Demonstrate the ability to generate plots and export them for use in reports and presentations.

 

Outline: 

  1. Introduction to MATLAB
    1. Starting MATLAB and MATLAB windows
    2. Working in the command window
    3. Arithmetic operations with scalars
    4. Display formats
    5. Elementary math built-in functions
    6. Defining scalar variables
    7. Useful commands for managing variables
  2. Script Files
    1. Notes about script files
    2. Creating and saving a script file
    3. Running a script file
    4. Global variables
    5. Input to a script file (inside the file)
    6. Output commands (disp/print)
    7. Command: save
    8. Commands: who and whose
  3. Creating Arrays
    1. Creating a one-dimensional array (vector)
    2. Array addressing
    3. Adding elements to existing variables
    4. Deleting elements
    5. Combining arrays
  4. Mathematical Operations with 1D-Arrays
    1. Addition and subtraction
    2. Element-by-element operations
    3. Relational and logical operators
    4. Dot product, cross product of vectors
    5. Statistical properties of arrays
      1. Norm
      2. Mean
      3. Standard deviation
      4. Variance
      5. Max
      6. Min
      7. Median
      8. Mode
      9. Covariance
    6. Length, size of vectors
    7. Strings and strings as variables
  5. Script Files (Revisited)
    1. Input to a script files (from the command window)
    2. Output commands
    3. Importing and exporting data
    4. Adding data to the end of the file
    5. Adding data to the beginning of the file
  6. Two-Dimensional Plots
    1. The plot command
    2. The fplot command
    3. Plotting multiple graphs in the same plot
    4. Formatting a plot
    5. Plots with logarithmic axes
    6. Plotting multiple plots on the same page
    7. Plots with special graphics
    8. Histograms
      1. Relative frequency
      2. Absolute frequency
    9. 2-D scatter plots
  7. Polynomials
    1. Forming polynomials
    2. Addition/subtraction/multiplication and division of polynomials
    3. Derivative of polynomials
    4. Polynomials in optimization problems


Effective Term:
Academic Year 2017/18