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
Cita come
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. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.0.0.0 |