Homework Assignment 1
This homework assignment consists of six problems. Click the links for details.
General Analysis
Problem #1 (10 points) - Significant figures
Problem #2 (15 points) - Vector & matrix math
Problem #3 (10 points) - Conveyor belt
Proble
ECE102: HW3
Homework Assignment 3
This homework assignment consists of five problems. Click the links for details.
MATLAB (Computer Files)
Problem #1 (10 points) - Voltage Divider Script
Problem #2 (10 points) - 3-D Graph
Problem #3 (10 points) - Statisti
ECE 102 Engineering Computation - Syllabus (Winter 2011)
Instructor:
E-mail:
Professor Lisa M. Zurk (Electrical & Computer Engineering Dept, Portland State University)
[email protected]
Course TA:
Mr. Dinh Truc Ha, [email protected]
Textbook:
MATLAB: A Pra
Spreadsheets
A spreadsheet stores data in a 2D grid of cells.
A cell may contain a numeric value, text, or a
formula that calculates the contents of the cell
based on the values of other cells.
Changing a cell automatically updates all cells
that are depe
MATLAB Topics
Cell Arrays
1
Cell Arrays
An array is used to store data in a 2-D format.
Note: Scalars (11), vectors (m1 or 1n), and
matrices (mn) are conceptually arrays.
In a "standard" array, all elements must be
homogenous (i.e., of the same class).
In
MATLAB Topics
Introduction to Strings
String Operations
Converting Between Strings & Numbers
1
Introduction to Strings
A string is a collection of characters bounded by
single quotes.
Example: Hello time t (s) 12.3 % APR
Characters include letters, digits
MATLAB Topics
Expressions
Relational Operators
Logical Operators
1
Expressions
A MATLAB expression is any combination of
variables
constants
operators
function
calls
that, when evaluated, produces a single value.
2
Expressions are used in:
Relational
Collecting and Recording Data
A measurement is performed by using an
instrument to find the numerical value of some
physical quantity.
Process:
Identify the data to be measured.
Associate measured quantities to the data
Determine if a meaningful relati
Introduction to DC Electric Circuit Analysis
Circuit analysis is used to determine:
DC
Steady-state DC voltages and currents at various
locations in the circuit
DC
sweep behavior
DC operating point versus voltage
AC
operating point
behavior
Small signa
MATLAB Topics
Vector (1D Array)
Vector Math
Strings
1
Vector (1D Array)
A vector is a list of values placed in a row or in a
column. Each value is called an element.
To create a vector from a list of values:
variable_name = [ elements ]
Brackets indicate
MATLAB Topics
General Features
User Interface
Expressions
Data Types
Arithmetic Operators
Elementary Math Functions
1
MATLAB is a technical computing program
created by The Mathworks, Inc.
MATLAB software is used by engineers and
scientists world-wide.
Co
Basic Error Analysis
Physical measurements are never exact.
Uncertainty in the values of measured quantities
is due to errors in the measurement process.
Errors can be reduced but not eliminated.
Using measured values in a calculation will
unavoidably lea
Homework Assignment 4
This homework assignment consists of four problems. Click the links for details.
MATLAB (Computer File)
Problem #1 - Moving Average & File I/O
Notes
Insert a title block at the top of each MATLAB file. The title block should include
Homework Assignment 2
This homework assignment consists of eight problems. Click the links for details.
MATLAB (Computer Files)
Problem #1 (10 points) - Arithmetic and matrix operations
Problem #2 (5 points) - Diode calculation
Problem #3 (10 points) - RC
Final Project Assignment
The final project is based upon a recording of (your) voice, which you will record with the USBmicrophone, and then process and analyze. All processing/analysis must be done in MATLAB,
as described below. A final report should be