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.
Best Answer