variable resistor in matlab

Top