Compute the total resistance of n resistors in parallel - new minor version
This m-file function can be used in any area where the total electrical resistance of parallel resistors is required. The only real difference between this version and the old one is that the function now allows a single vector input parameter (row/column) as well as the usual multiple scalar arguments in the old version. Also the code is more compact than before, demonstrates the use of nargin and isvector and has been tested with MATLAB R2011a.
Example usage:
>> z = Rparallel31(1,1,1)
z = 0.3333
>> z = Rparallel31([1;1;1])
z = 0.3333
Citation pour cette source
Bruce Raine (2024). Compute the total resistance of n resistors in parallel - new minor version (https://www.mathworks.com/matlabcentral/fileexchange/32741-compute-the-total-resistance-of-n-resistors-in-parallel-new-minor-version), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0.0 |