Troubleshoot Linearization Results in Linear Analysis
Tool
This example shows how to use the Linearization Advisor to debug the linearization of a
pendulum model in the Linear Analysis Tool.
Setup Model
Open the Simulink model.
mdl = 'scdpendulum';
open_system(mdl)
The initial condition for the pendulum angle is 90 degrees counterclockwise from the
upright unstable equilibrium of 0 degrees. The initial condition for the pendulum angular
velocity is 0 deg/s. The nominal torque to maintain this state is -49.05 N m. This
configuration is saved as the model initial condition.
Open Linear Analysis Tool and Linearize Model
To open the Linear Analysis Tool, in the Simulink model window, select Analysis >
Control Design > Linear Analysis.
To linearize the model at the model initial condition, in the Linear Analysis Tool, on the
Linear Analysis tab, click Bode.
The software linearizes the model and plots its frequency response.
Troubleshoot Linearization Results in Linear Analysis Tool