COURSE NUMBER AND TITLE: CSCI 2060 Programming for Science and Engineering
CREDIT HOURS: 4 (3 Lecture, 2 Lab)
CATALOG DESCRIPTION: An introduction to computer programming using a high-level language supporting mathematical programming. Emphasis will be on methods for solving numerical problems. Programming assignments will be based on typical mathematical problems.
PREREQUISITE(S): MATH 2011 (Co-requisite)
SUGGESTED TEXT: MATLAB Programming for Engineers, 4th Edition, Stephen J. Chapman. ISBN-10: 049524449X, ISBN-13: 9780495244493.
COURSE OUTLINE:
Introduction to MATLAB: variables, assignments, and arrays.
Multidimensional and sub-arrays, scalar and array operations.
Built-in functions, introduction to plots.
Program design and debugging, data types, relational and logical operators.
If/switch constructs, branching, control, more on debugging.
Loops: while loops, for loops, nested loops.
Functions, variable passing, private functions, nested functions.
Additional data types, strings, conversions.
Multidimensional arrays, single and integer data types, additional two- and three-dimensional plots.
Input/output functions, file opening and closing, format conversion.
Object oriented programming: classes, methods, objects, properties.
Inheritance, encapsulation.
The MATLAB graphics system, graphics objects and properties.
Graphical user interfaces, components, containers, and menus.