Hi everyone, could u please help me?

1 次查看(过去 30 天)
i have a vector of voltage, a vector of current and a vector of time which coresspond to both of voltage and current (obviously all with the same length). now, I need to find the magnitude of the impedance (voltage to current) in laplace domain (the transfer function in fact). is there anyway to find it with matlab?
thanks for your help in advance

回答(1 个)

Luna
Luna 2018-11-28
You should first create function based on your time vector, using impedance formula.
for example your formula f is below. Define variables symbolicly using syms and apply laplace function.
syms a t
f = exp(-a*t); % this should be created for impedance
laplace(f)
ans =
1/(a + s)
see more details laplace in here.
  1 个评论
kiarash gharani khajeh
thanks for your help. but that is exactly my problem. i only have a vector of voltage as well as current coming from a nonlinear system and it is not possible to make equation from them. i need to extract the bode response of impedance by them

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Symbolic Math Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by