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
0 个评论
回答(1 个)
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)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Symbolic Math Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!