Skip to content

ENGR 2255 - Lab #4

Title: 

  • Nodal Analysis and Mesh Analysis with MATLAB

Objectives: 

  • Become acquainted with MATLAB
  • Gain experience with Nodal Analysis and Mesh Analysis

Equipment and Parts: 

  • Computer running with MATLAB Version 8.1

Preparation: 

  1. Watch this video: Getting Started with MATLAB.
  2. Determine the Nodal Analysis equations of node voltages for Problem 3.25 from the text.
  3. Determine the Mesh Analysis equations of mesh currents for Problem 3.53 from the text.

Procedure: 

Use MATLAB to do each of the following.  For each, print out the command lines and the displays and paste them in your lab notebook.

  1. Solve the Nodal Analysis system of equations from the Preparation.
  2. Determine all branch currents for the circuit.
  3. Determine the power associated with each circuit element.
  4. Solve the Mesh Analysis system of equations from the Preparation.
  5. Determine all node voltages for the circuit.
  6. Determine the power associated with each circuit element.

Conclusions: 

  • Discuss how well the objectives were met