fftplot

Plot MotionSolve Fast Fourier Transforms (FFTs) computed from output signals.

Attention: Valid only with Altair Product Integration Extension

Syntax

fftplot(xml,typ,res,com)

fftplot(xml,typ,res,com,tw)

fftplot(xml,typ,res,com,tw,few)

Inputs

xml
XML file names (without extension).
Type: char
Dimension: cell
typ
Result type.
Type: char
Dimension: string
res
Result name(s) / request(s).
Type: char
Dimension: string | cell
com
Result component(s).
Type: char
Dimension: string | cell
tw
Time window window in a 2-element vector form.
Type: double
Dimension: vector
few
Frequency exponent window in a 2-element vector form.
Type: double
Dimension: vector

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 time and frequency domains by FFT of multiple output signals.