bode plot from measured data

15 Ansichten (letzte 30 Tage)
Ajira
Ajira am 7 Okt. 2019
Kommentiert: Star Strider am 7 Okt. 2019
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 Kommentar
Star Strider
Star Strider am 7 Okt. 2019
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).

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by