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