how to write this code ?

9 次查看(过去 30 天)
ahmed nasser
ahmed nasser 2022-4-9
评论: Sam Chak 2022-4-9

回答(2 个)

Sam Chak
Sam Chak 2022-4-9
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 个评论
ahmed nasser
ahmed nasser 2022-4-9
@Sam Chak Thank you very much ..Mr. Sam
Sam Chak
Sam Chak 2022-4-9
You are welcome. Take your time to explore MATLAB.

请先登录,再进行评论。


Torsten
Torsten 2022-4-9
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 个评论
ahmed nasser
ahmed nasser 2022-4-9
@Torsten I want an initial code that deduces the third voltage after reading from the sensors

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Power Converters 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by