To start with, I have a simple but specific requirement. Once I understand and can complete this circuit simulation using MATLAB for this specific case, then I will attempt to generalise for similar circuits.
I have a grid of resistors each of 1 Ohm arranged in a repeating square pattern.
(Where | represents an 1 Ohm resistor. As you can see my pathetic illustration is attempting to show the square pattern of the resistors.) At each intersecting node, there is a current source in parallel with a diode connected to ground.
All current sources have a known value. All resistors are known.
Clearly there are a few ways to look at this but having the diodes.
Ideally, I want to solve this in a manner that is easy to follow and also is in an efficient manner which would lend itself to bigger circuits. I would like to generate the node voltages at each point. Also, how does SPICE complete a DC sweep, as I would like to perform a DC sweep across the circuit?