cpsdplot
Plot MotionSolve Frequency Response Functions (FRFs) estimated from output/input signals cpsd versus input signals pwelch.
Syntax
cpsdplot(xml,typ,res,com,reft,refr,refc)
cpsdplot(xml,typ,res,com,reft,refr,refc,tw)
cpsdplot(xml,typ,res,com,reft,refr,refc,tw,few)
Inputs
- xml
- XML file names (without extension).
- typ
- Result type.
- res
- Result name(s) / request(s).
- com
- Result component(s).
- reft
- Reference result type.
- refr
- Reference result name / request.
- refc
- Reference result component.
- 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.
cpsdplot({'./LandingGear_Retracted/ldg_retracted';'./LandingGear_Deployed/ldg_deployed'},'Expressions','dxyz',{'DXleft';'DYleft';'DZleft'},'Expressions','drag','FXright',[0.2,10],[0.5,2.5]);
Comments
This function creates a comparison plot of MotionView results in time and frequency domains by estimated FRF between multiple outputs signals and one single input signal (leveraging cross power spectral density).