Compute the total resistance of n resistors in parallel.
This m-file function can be used in any area where the total electrical resistance of parallel resistors is required.
Example usage:
>> z = Rparallel3(1,1,1)
z = 0.3333
>>
By using 'varargin' Rparallel3 can take a variable number of input arguments (scalars only) allowed. I got the idea for this function from an Instructor for an Introduction course on MATLAB that I attended 3 years ago as a helper/attendee. The code has evolved a bit since my first foray into MATLAB but the function essentially performs the same as the first version I wrote as a learner 3 years ago.
Citar como
Bruce Raine (2024). Compute the total resistance of n resistors in parallel. (https://www.mathworks.com/matlabcentral/fileexchange/26331-compute-the-total-resistance-of-n-resistors-in-parallel), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Etiquetas
Agradecimientos
Inspiración para: Round to Electronic Component Values
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 |