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

조회 수: 2 (최근 30일)
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.

채택된 답변

Walter Roberson
Walter Roberson 2015년 8월 30일

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by