How to export data from bode in Linear Analysis Tool

조회 수: 13 (최근 30일)
shannon Zhang
shannon Zhang 2016년 3월 14일
댓글: Kenneth Strain 2020년 11월 6일
I get a bode of a simulink model by Linear Analysis Tool,I want to get data in bode X axes and Y axes, Anyone can help me ,Thanks!

채택된 답변

Sebastian Castro
Sebastian Castro 2016년 3월 14일
The linearized model should show up in the "Linear Analysis Workspace" section on the left of the Linear Analysis tool. The default name for these models is, for example, linsys1.
What you want to do is:
  1. Drag your linear system linsys1 from the "Linear Analysis Workspace" to the "MATLAB Workspace" section.
  2. Now that the variable is in the MATLAB workspace, use the bode function to extract the data:
>> [mag,phase,freq] = bode(linsys1)
- Sebastian
  댓글 수: 7
Melika Mohammadkarimi
Melika Mohammadkarimi 2020년 10월 17일
This doesn't work me as well by 2020b
Kenneth Strain
Kenneth Strain 2020년 11월 6일
The trick is to drag to the leftmost part of the MATLAB workspace area - under "Name" not under "Value". If you see the no-entry sign, your pointer is too much to the right.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Trimming and Linearization에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by