필터 지우기
필터 지우기

bode plot from experiment data

조회 수: 143 (최근 30일)
BK
BK 2017년 9월 28일
편집: Arkadiy Turevskiy 2024년 6월 19일 20:14
hello all, I have experimental input and output data (saved as data in excel).
- Data is sinusoidal function(time domain). The input signal have a continuously increasing frequency(ex. 0 Hz ~ 1000 Hz). And output signal is sensor measuring data that it have same shape as the input signal.
- I don't have transfer function.
I want draw bode plot using these experiment data. please some body help me.

채택된 답변

Nick Choi
Nick Choi 2017년 10월 2일
편집: Arkadiy Turevskiy 2024년 6월 19일 20:14
Assuming you have the input data and output data in the MATLAB workspace as vectors, you could use the 'tfestimate' function to estimate the transfer function of the data and then use the 'bode' function to obtain the bode plot of the transfer function.
The following documentation page provides additional information on how to use the 'tfestimate' function:
If the data is not in MATLAB yet, you can use the 'xlsread' function to import the data from the Excel spreadsheet. The following documentation page provides additional information on how to use the 'xlsread' function:
Update by Kishen Mahadevan at MathWorks on 6/19/2024
To get a dynamic system model ’sys’ for use with the ‘bode’ function, you can use the ‘tfest’ function from System Identification Toolbox to estimate the transfer function model.
Please refer to this documentation page for more information on ‘tfest’ - Estimate transfer function model - MATLAB tfest (mathworks.com)
Additionally with System Identification Toolbox you can also automatically estimate different dynamic models such as ARX and state-space models which can then be used with the 'bode' function to plot the bode diagram using ‘bode(sys)’.
  댓글 수: 1
Alfred
Alfred 2023년 6월 21일
Does this still work on 2017b? I checked the tfestimate help page but the output of tfestimate is not a sys object, so I can't use bode(sys)

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Uncertainty Analysis에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!