Impedance parallel formula in Matlab

Hi Guys,
Does anyone know how to calculate the parallel impedance in Matlab?
I would like to calculate the RL || Rc || Rf, how should I do?

2 Comments

How would you calculate it with pencil and paper?
Hi @Jan,
I know how to calculate it, I just would like to know, are any formulas in Matlab I can use?
I tyr to use parallel, but it can't work.

Sign in to comment.

 Accepted Answer

It is straightforward to create your own function to calculate it —
Zpar = @(z) 1./sum(1./z); % Calculates Parallel Impedance Of Impedance Vector 'z'
RL = randi(1000);
RC = randi(1000);
Rf = randi(1000);
Rv = [RL RC Rf]
Rv = 1×3
220 386 722
Rp = Zpar(Rv)
Rp = 117.3548
See the documentation on Anonymous Functions for details if you are not familiar with them.
.

More Answers (0)

Categories

Find more on Mathematics in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!