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 commentaires

Jan
Jan le 9 Juil 2022
How would you calculate it with pencil and paper?
Jason Ciou
Jason Ciou le 9 Juil 2022
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.

Connectez-vous pour commenter.

 Réponse acceptée

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

2 commentaires

Jason Ciou
Jason Ciou le 9 Juil 2022
Got it, thanks.
Star Strider
Star Strider le 9 Juil 2022
As always, my pleasure!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Mathematics dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by