(adsbygoogle = window.adsbygoogle || []).push({}); 1. The problem statement, all variables and given/known data

Hi,

I need to calculate the voltage drop in an n by m grid. There are resistors 4 resistors connected to a square; R1 for horizontals and R2 for verticals. There's a voltage applied at point B and point A is grounded.

I need to create a MATLAB function that will solve for the voltage and display it in a matrix.

2. Relevant equations

Kirchhoff Law

V= IR

3. The attempt at a solution

I1R1 - I2R2 - I3R1 + I1R2 =0 (That's the equation for one of the squares), using this logic to solve for one, I can solve for all. But, how can I automate it for a n x m grid?

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Homework Help: Determining the distribution of voltages in a given rectangular grid

**Physics Forums | Science Articles, Homework Help, Discussion**