fftplot
Plot MotionSolve Fast Fourier Transforms (FFTs) computed from output signals.
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).
- typ
- Result type.
- res
- Result name(s) / request(s).
- com
- Result component(s).
- tw
- Time window window in a 2-element vector form.
- few
- Frequency exponent window in a 2-element vector form.
Examples
Example with results from a landing gear model.
fftplot({'./LandingGear_Retracted/ldg_retracted';'./LandingGear_Deployed/ldg_deployed'},'Expressions','dxyz',{'DXleft';'DYleft';'DZleft'},[0.2,10],[0.5,2.5]);
Comments
This function creates a comparison plot of MotionView results in time and frequency domains by FFT of multiple output signals.