Hi everyone, could u please help me?

1 view (last 30 days)
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

Answers (1)

Luna
Luna on 28 Nov 2018
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 Comment
kiarash gharani khajeh
kiarash gharani khajeh on 28 Nov 2018
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

Sign in to comment.

Categories

Find more on Symbolic Math Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!