File Exchange

image thumbnail

Voltage Divider Error due to Resistor Tolerance

version 1.0.0 (1.42 KB) by Akash Mankar
Voltage Divider Error due to resistor tolerance

2 Downloads

Updated 27 Nov 2018

View License

Voltage Divider Error due to resistor tolerance

Line 1 declares the Input voltage(Vin) range and splices them

R1 and R2 are declared on line 3 and 4

Random noise 1%(E96) noise is added in resistors(in for loop line 7 and 15), the total resistance is updated and new Vout is calculated.

If different resistor series needs analysis, make sure that the randomizer generates the values between the tolerance value for the series. Change the multiplier to higher value to get different noise(line 8 and 16).

Cite As

Akash Mankar (2021). Voltage Divider Error due to Resistor Tolerance (https://www.mathworks.com/matlabcentral/fileexchange/69535-voltage-divider-error-due-to-resistor-tolerance), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2018b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!