Matlab Program for calculation of Equivalent Resistance and differentiating whether the resistances are in series or parallel

5 vues (au cours des 30 derniers jours)
Hey everyone:
I need help for following program;
Write a MATLAB function which take the following two inputs:
  • A vector (of variable length) representing resistor in an electrical circuit
  • A flag representing whether resistors are parallel or series.the function should return equivalent resistance.
I am new in MATLAB and don't know how to write this code.
pleases help me.

Réponse acceptée

Walter Roberson
Walter Roberson le 30 Août 2015

Plus de réponses (0)

Catégories

En savoir plus sur MATLAB dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by