resist(desired_value,p_c_error,displayall_012,ThreeResistors01)
Given a % error tolerance, optimised solution for an equivalent resistance is provided using 2 or 3 series or parallel resistors. Recommend using only 2 resistor combinations, answer arises in <0.4 seconds. Three resistors resistor combination solutions take approximately 7 minutes, and it is advised these solutions are for emergency use only. Full instructions available with example code by entering 'help resist'.
Cite As
Scott Williams (2026). resist(desired_value,p_c_error,displayall_012,ThreeResistors01) (https://uk.mathworks.com/matlabcentral/fileexchange/56589-resist-desired_value-p_c_error-displayall_012-threeresistors01), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: Round to Electronic Component Values
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
