linearizeAirframe

Linearize airframe model around operating points

Description

example

linSys = linearizeAirframe(modelToAnalyze) linearizes an airframe model around a specified operating point or operating point specification object and generates an output state-space model that contains only longitudinal states. A Linearize Airframe dialog window prompts you to select an operating point or operating point specification object from the base workspace. If an operating point or operating point specification object does not exist in the base workspace, click the Launch Trim Tool button in the Linearize Airframe dialog window. This button starts the Simulink® Control Design™ Linear Analysis Tool in which you can create the operating point specification object. The linearizeAirframe function uses this object as the operating condition around which to linearize the airframe model.

linSys = linearizeAirframe(modelToAnalyze) linearizes an airframe model around the specified operating point object or operating point specification object.

linSys = linearizeAirframe(modelToAnalyze,opPoint) linearizes an airframe model around the specified operating point object or operating point specification object.

linSys = linearizeAirframe(modelToAnalyze,opPoint,generatePlots) displays bode and step plot results of longitudinal linearization.

Examples

collapse all

Linearize the model SkyHoggAnalysisModel around the operating point, opTrim. This example starts the flight control analysis template using asbFlightControlAnalysis and trims the model around the opSpecDefault operating point specification object. It then linearizes the airframe model around the opTrim operating point and calculates the short- and long-period (phugoid) mode characteristics of linSys.

asbFlightControlAnalysis('3DOF', 'SkyHoggAnalysisModel');
opSpecDefault = SkyHogg3DOFOpSpec('SkyHoggAnalysisModel');
opTrim = trimAirframe('SkyHoggAnalysisModel', opSpecDefault);
linSys = linearizeAirframe('SkyHoggAnalysisModel', opTrim)
flyingQual = computeLongitudinalFlyingQualities('SkyHoggAnalysisModel', linSys)

Input Arguments

collapse all

Model on which to perform flight control analysis. This model must be previously created with the asbFlightControlAnalysis function.

Data Types: char | string

Operating point object used to linearize the model modelToAnalyze.

Data Types: char | string

Display pole-zero map for the linear system state-space model.

Data Types: char | string

Output Arguments

collapse all

State space model object representing the linearized airframe model at a specified operating point.

Data Types: char | string

Limitations

This function requires the Simulink Control Design license.

Introduced in R2018b