bode plot from measured data

조회 수: 15 (최근 30일)
Ajira
Ajira 2019년 10월 7일
댓글: Star Strider 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