how to write this code ?

2 vues (au cours des 30 derniers jours)
ahmed nasser
ahmed nasser le 9 Avr 2022
Commenté : Sam Chak le 9 Avr 2022
  2 commentaires
Walter Roberson
Walter Roberson le 9 Avr 2022
What code?
ahmed nasser
ahmed nasser le 9 Avr 2022
how to make this as a code on matlap ?

Connectez-vous pour commenter.

Réponses (2)

Sam Chak
Sam Chak le 9 Avr 2022
Looks like the Kirchhoff's voltage law.
Are you looking for something like this?
syms Vab Vbc Vca
eqn = Vab + Vbc + Vca == 0
S = solve(eqn, Vca)
  5 commentaires
ahmed nasser
ahmed nasser le 9 Avr 2022
@Sam Chak Thank you very much ..Mr. Sam
Sam Chak
Sam Chak le 9 Avr 2022
You are welcome. Take your time to explore MATLAB.

Connectez-vous pour commenter.


Torsten
Torsten le 9 Avr 2022
What is the code supposed to do with the three V-values ?
You can write
syms V_ab V_bc V_ca
eqn = V_ab + V_bc + V_ca == 0
result = solve(eqn,V_ca)
And now ?
  1 commentaire
ahmed nasser
ahmed nasser le 9 Avr 2022
@Torsten I want an initial code that deduces the third voltage after reading from the sensors

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by