Download as:
Rating : ⭐⭐⭐⭐⭐
Price: $10.99
Language:EN
Pages: 1

Part 2 using matlab to solve node voltage equations

Example Of Lab 6matlab 201 Essay

Part 1 Solutions Using Symbolic Math

Using MATLAB to Solve a Simple Problem

Part 2 Using MATLAB to Solve Node Voltage Equations

This equation is modelled in MATLAB using symbolic variable:

3-4. The node voltage equations are:

The following codes are inputted in MATLAB to solve these node voltage equations:
The computed node voltages are: VB=23.2 V, VC=21

Part 3 Exponential Response of RC Circuits

1-2. Thetime constant τ is computed using R*C:
In this case, the power of 10 for the capacitance value 10µF is inputted using ‘e’. The resulting time constant is: τ=10 ms
3-6. The series of time values are initialized to the variable ‘t’. Then, the capacitor and resistor voltages (Vc and Vr) are computed using the following equations:
VCt=10 1- e-tτ, VRt=10e-tτ

The following code are inputted in MATLAB to compute for the voltages and plot the results:

Copyright © 2009-2023 UrgentHomework.com, All right reserved.