Unformatted text preview: %HW04B WheatsoneBridge %Input: R1,R2,R3,R4 (Vector or Scalar, no units) %Outputs: Vg (Vector or Scalar, unitless quantity) %Given V for battery Vbat=24; %Calculates Vg Vg=(R4./(R3+R4)-R2./(R1+R2)).*Vbat; MATlab Output: R1=[2500,220,10000,3300];R2=[220,1000,760,3300];[7900,22000,970,3300]; [10000,220,1200,1200]; >> [Vg]=Wheatstone(R1,R2,R3,R4) Vg = 4.0137 -13.7172 4.2597 -6.0451...
View Full Document
This note was uploaded on 11/16/2010 for the course EGR 102 taught by Professor Hinds during the Spring '09 term at Michigan State University.
- Spring '09