frfplot

Plot MotionSolve Frequency Response Functions (FRFs) computed from XML and related A,B,C,D state matrices.

Syntax

frfplot()

frfplot(xml)

frfplot(xml,few)

frfplot(xml,few,red)

Inputs

xml
XML file names (without extension).
Type: char
Dimension: cell
few
Frequency exponent window in a 2-element vector form.
Type: double
Dimension: vector
red
Reduction option (not supported yet). Default: 0 (no reduction).
Type: double
Dimension: scalar

Examples

Example with results from a landing gear model.

frfplot({'./LandingGear_Retracted/ldg_retracted';'./LandingGear_Deployed/ldg_deployed'},[0.5,2.5],0);

Comments

This function creates a comparison plot of MotionView results in frequency domain by computing FRF between multiple plant outputs and plant inputs (leveraging A,B,C,D state matrices output).