SURVEY.m calculates initial-condition response, equilibrium response, control response, controllability and observability matrices, natural frequencies, damping ratios, real roots, eigenvalues and eigenvectors for the open-loop system. It forms single-input/single-output transfer functions for all possible combinations in the model selected by the user and makes their Bode, Nyquist, and Nichols plots; with a simple change, these plots can be generated for disturbance inputs as well. A transfer function model of human-pilot neuromuscular lags can be included in control responses. SURVEY.m is tutorial, and the USER controls program flow by making changes in the code. No explicit or implicit warranties are made regarding the accuracy or correctness of the computer code. The code is subject to continuing change, and user suggestions for improving the code are welcome.
TABLE OF CONTENTS
SURVEY.m makes calculations based on the (12 x 12) Fmodel, (12 x 7) Gmodel, and (12 x 3) Lmodel matrices that are stored in FmodelFile.mat and GmodelFile.mat by FLIGHTv2.m. The nominal trimmed flight condition also is stored in FmodelFile.mat. The chosen model is summarized in ControlData.mat. Examples of FmodelFile.mat, GmodelFile.mat, and ControlData.mat are included.
LonLatDir.m accepts stability and control-effect matrices for longitudinal and lateral-directional dynamics. It either passes the matrices unchanged, re-orders elements of the matrices, or generates a selected reduced-order model from them. It presents matrices for body or hybrid/stability axes, for longitudinal or lateral-directional partitions, and for fourth- or sixth-order computations. As shown, there are twelve original state elements, four longitudinal controls, three lateral-directional controls, and three disturbances.
NatFreq.m presents complex-valued eigenvalues, natural frequencies, damping ratios, and time constants that identify oscillations, convergence, and divergence in the system's modes of motion.
StabMode.m presents a diagonal matrix of eigenvalues and a modal matrix of eigenvectors. Amplitudes of the eigenvector components for both original and velocity-weighted sets identify the relative participation of each state element in each mode of motion.
Flight Dynamics, Second Edition.
http://www.stengel.mycpanel.princeton.edu/FDcodeC.html