n Question 4: 35 points Figure 2 shows a circuit of n number of loops with series resistance (Rs1, Rs2, "., Rs(n-1)) and
Posted: Sun May 15, 2022 2:04 pm
n Question 4: 35 points Figure 2 shows a circuit of n number of loops with series resistance (Rs1, Rs2, "., Rs(n-1)) and parallel resistance (Rp1, Rp2, ***, Rpn). 1. Write a Function in MATLAB to determine the A matrix for n loops. (30 points) 2. Once the function is scripted, write a separate MATLAB code to call the function and determine the nodal voltage at each node for 5 loops (V,,V2,V3, V4, V5, V.). (5 points) Given: Reference Voltage (Vres = 10V) Series Resistance (Rs = 32), All the series resistances are of equal value. Parallel Resistance (Rp = 22), All the parallel resistances are of equal value. V Rs1 30 V2 Rs2 30 V3 Rs(n-1) 30 W Vn w w Rp1 20 w Rp2 20 Rp3 20 w Rpn 20 w loop 1 ... loop 2 loop n + Vref 10 V Fig. 2 n loops circuit with resistances