bode plot from measured data

14 次查看(过去 30 天)
Ajira
Ajira 2019-10-7
hello all, I have some measured data ,current as input and voltage as output with a sampling freq of 10e3.
voltage and current are saved differently in two vectors. during the test for every try we changed frequency in current. for a range of 150-2450 Hz. now I have for current 24 vectors and every vector is related to only one specefic frequency and I also have 24 vectors for the voltage related to the current. now I want to plot bode diagram using tfestimate but my problem is that tfestimate give me 24 seperate answers.
how can I get only one tf for the frequency range between 150-2450 Hz.
thx
  1 个评论
Star Strider
Star Strider 2019-10-7
You seem to have gone the long way round to collect frequency-domain data from your system.
It is difficult to suggest a specific approach, however finding some way to determine the amplitude and phase characteristics at each frequency would likely be the first step. Then use the procedures in Frequency-Domain Data in iddata to create your data object.
A simpler way would likely be to use the same sampling frequency, and record the respoinse of your system to an impulse, if you can do that. Then use that time-domain matrix, or the fft of it as a frequency-domain matrix to use with iddata (or idfrd).

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Transform Data 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by