亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? results.m

?? matlab的FDC工具箱
?? M
字號:
% RESULTS - processes aircraft simulation results 
%
% The Matlab macro RESULTS creates time-trajectories of individual inputs 
% to and outputs from the Beaver model. It can be used after running a 
% simulation involving the aircraft model.
%
% During simulations, the time-trajectories of all inputvariables are sent 
% to the matrix In and all time-trajectories of the outputvariables are 
% sent to to the matrix Out in the Matlab workspace; see the input and 
% output definitions for the Beaver model (inputs.htm and outputs.htm in 
% the HELP subdirectory) for the definitions of these matrices. Since 
% analyzing the results directly from In and Out is possible, but not very 
% convenient, RESULTS was created to transform these matrices into time-
% trajectories of individual input and output signals with self-explaining 
% variable names.
%
% So in order to produce a plot of the elevator deflection (for instance), 
% instead of typing plot(time,In(:,1)), you can run RESULTS and then type 
% plot(time,deltae). Even easier: you can also run RESULTS first and then 
% use the Matlab macro RESPLOT to automatically plot the most important 
% time-trajectories.
%
% Note: RESULTS only works correctly if the definitions of the matrices In 
% and Out are not changed by editing the aircraft model. If the definitions 
% are changed, then the file RESULTS.M in in the subdirectory TOOLS needs 
% to be edited accordingly. Apart from some options regarding the units of 
% measurements of the variables that represent angles and/or angular 
% velocities, the macro RESULTS is very straightforward, so adapting this 
% file is not very difficult.
%
% RESULTS does not contain a 'save' option, so remember to save the 
% resulting time-trajectories yourself if you want to use them later. 
% Don't forget to store the time-axis time too; otherwise you won't be able
% to plot the time-trajectories of the variables afterwards.
%
% Type 'browse inputs' or 'browse outputs' (without quotes) for more info.


% Check if the matrices In and Out, and the time axis are present in the
% Matlab workspace. If not, display error message. 
% -----------------------------------------------------------------------
if exist('time') == 0 | exist('Out') == 0 | exist('In') == 0
   disp('Aircraft simulation results (matrices ''In'' and ''Out'' and');
   disp('time vector ''time'' are not present in the workspace!');
   error;
end

% Check if the number of inputs and outputs stored in these matrices cor-
% respond with the default definitions of In and Out used in the system
% BEAVER. Of course, the latter check does not guarantee that the defini-
% tions of the matrices In and Out as found in the Matlab workspace, are in
% accordance with the default definitions used in the system BEAVER, but if
% the number of variables does not match we know for sure that the results
% aren't correct!
%
% The user him/herself must take care of changing RESULTS.M if the defini-
% tions of the matrices In and Out need to be changed!
% ----------------------------------------------------------------------------

[m1,n1] = size(In);
[m2,n2] = size(Out);

if n1 ~= 12
   error('Number of inputs is not equal to 12. RESULTS won''t work!');
elseif n2 ~= 89
   error('Number of outputs is not equal to 89. RESULTS won''t work!');
end

clear m1 n1 m2 n2

% Header to make sure user knows what goes on...
% -----------------------------------------------
clc
disp('FDC toolbox - RESULTS');
disp('=====================');
disp(' ');
disp('Transfer simulation results from matrices In and Out into');
disp('time-trajectories of individual inputs and outputs, using');
disp('self-explaining variable names.');
disp(' ');

% Specify dimension of angles and angular velocities. While-loops ensure
% that that user gives valid answers to the questions. Default is [rad]
% and [rad/s].
% ----------------------------------------------------------------------
ok = 0;
while ok ~= 1
   disp(' ');
   angledims = input('Angles in [rad] or [deg] ([r]/d)? ','s');

   if isempty(angledims)
      angledims = 'r';
   end
   
   if angledims == 'r'
      disp(' ');
      disp('    Angles will be measured in [rad]');
      c1 = 1;                      % multiplication factor for angles in [rad]
      ok = 1;
      unit_angle = '[rad]';        % angle unit for display in RESPLOT
   else
      disp(' ');
      disp('    Angles will be measured in [deg]');
      c1 = 180/pi;                 % multiplication factor for angles in [deg]
      ok = 1;
      unit_angle = '[deg]';        % angle unit for display in RESPLOT
   end
end

ok = 0;
while ok ~= 1
   disp(' ');
   ratedims = input('Angular velocities in [rad/s] or [deg/s] ([r]/d)? ','s');

   if isempty(ratedims)
      ratedims = 'r';
   end

   if ratedims == 'r'
      disp(' ');
      disp('    Angular velocities will be measured in [rad/s]');
      c2 = 1;                 % multiplication factor for angular velocities in [rad/s]
      ok = 1;
      unit_rate = '[rad/s]';  % angular rate unit for display in RESPLOT
   else
      disp(' ');
      disp('    Angular velocities will be measured in [deg/s]');
      c2 = 180/pi;   % multiplication factor for angular velocities in [deg/s]
      ok = 1;
      unit_rate = '[deg/s]';  % angular rate unit for display in RESPLOT
   end
end

disp(' ');
disp(' ');
disp('Wait a moment please...');

% Now create individual trajectories of control inputs and atmospheric
% disturbances from the results, stored in the matrix In. See INPUTS.HLP
% for the exact definitions.
% ----------------------------------------------------------------------
deltae = In(:,1) * c1;
deltaa = In(:,2) * c1;
deltar = In(:,3) * c1;
deltaf = In(:,4) * c1;
n      = In(:,5);
pz     = In(:,6);
uw     = In(:,7);
vw     = In(:,8);
ww     = In(:,9);
uwdot  = In(:,10);
vwdot  = In(:,11);
wwdot  = In(:,12);

% Now create individual trajectories of outputs from the system BEAVER,
% from the results stored in the matrix Out. See OUTPUTS.HLP for the
% exact definitions.
% ---------------------------------------------------------------------

% State variables:

V        = Out(:,1);
alpha    = Out(:,2)* c1;
beta     = Out(:,3)* c1;
p        = Out(:,4)* c2;
q        = Out(:,5)* c2;
r        = Out(:,6)* c2;
psi      = Out(:,7)* c2;
theta    = Out(:,8)* c2;
phi      = Out(:,9)* c2;
xe       = Out(:,10);
ye       = Out(:,11);
H        = Out(:,12);

% Time-derivatives of states (see VABDOT.HLP, PQRDOT.HLP, EULERDOT.HLP, and
% XYHDOT.HLP):

Vdot     = Out(:,13);
alphadot = Out(:,14)* c1;
betadot  = Out(:,15)* c1;
pdot     = Out(:,16)* c2;
qdot     = Out(:,17)* c2;
rdot     = Out(:,18)* c2;
psidot   = Out(:,19)* c2;
thetadot = Out(:,20)* c2;
phidot   = Out(:,21)* c2;
xedot    = Out(:,22);
yedot    = Out(:,23);
Hdot     = Out(:,24);

% Body-axes velocities (see UVW.HLP):

u        = Out(:,25);
v        = Out(:,26);
w        = Out(:,27);

% Time-derivatives of body-axes velocities (see UVWDOT.HLP):

udot     = Out(:,28);
vdot     = Out(:,29);
wdot     = Out(:,30);

% Dimensionless rotational velocities in aircraft's body-axes (see
% DIMLESS.HLP):

pb_2V    = Out(:,31);
qc_V     = Out(:,32);
rb_2V    = Out(:,33);

% Some additional flightpath variables (see FLPATH.HLP):

gamma    = Out(:,34)* c1;
fpa      = Out(:,35);
chi      = Out(:,36)* c1;
Phi      = Out(:,37)* c1;

% Engine variables (see POWER.HLP):

dpt      = Out(:,38);
P        = Out(:,39);

% Specific forces and kinematic accelerations (see ACCEL.HLP):

Ax       = Out(:,40);
Ay       = Out(:,41);
Az       = Out(:,42);
axk      = Out(:,43);
ayk      = Out(:,44);
azk      = Out(:,45);

% Dimensionless aerodynamic force and moment coefficients (see AEROMOD.HLP):

CXa      = Out(:,46);
CYa      = Out(:,47);
CZa      = Out(:,48);
Cla      = Out(:,49);
Cma      = Out(:,50);
Cna      = Out(:,51);

% Dimensionless propulsive force and moment coefficients (see ENGMOD.HLP):

CXp      = Out(:,52);
CYp      = Out(:,53);
CZp      = Out(:,54);
Clp      = Out(:,55);
Cmp      = Out(:,56);
Cnp      = Out(:,57);

% Aerodynamic forces and moments (see AEROMOD.HLP and FMDIMS.HLP):

Xa       = Out(:,58);
Ya       = Out(:,59);
Za       = Out(:,60);
La       = Out(:,61);
Ma       = Out(:,62);
Na       = Out(:,63);

% Propulsive forces and moments (see ENGMOD.HLP and FMDIMS.HLP):

Xp       = Out(:,64);
Yp       = Out(:,65);
Zp       = Out(:,66);
Lp       = Out(:,67);
Mp       = Out(:,68);
Np       = Out(:,69);

% Forces due to gravity (see GRAVITY.HLP):

Xgr      = Out(:,70);
Ygr      = Out(:,71);
Zgr      = Out(:,72);

% Corrections to body-axes forces due to nonsteady atmosphere (see
% FWIND.HLP):

Xw       = Out(:,73);
Yw       = Out(:,74);
Zw       = Out(:,75);

% Atmosphere variables (see ATMOSPH.HLP):

rho      = Out(:,76);
ps       = Out(:,77);
T        = Out(:,78);
mu       = Out(:,79);
g        = Out(:,80);

% Airdata variables (see AIRDATA1.HLP, AIRDATA2.HLP, and AIRDATA3.HLP):

a        = Out(:,81);
M        = Out(:,82);
qdyn     = Out(:,83);

qc       = Out(:,84);
Ve       = Out(:,85);
Vc       = Out(:,86);

Tt       = Out(:,87);
Re       = Out(:,88);
Rc       = Out(:,89);

% Ready...
% --------
disp(' ');
disp('Ready. Press key to continue...');
pause
clc

% Give user the option to delete matrices In and Out from the workspace
% ---------------------------------------------------------------------
answ = input('Delete matrices In and Out from workspace (y/[n])? ','s');

if isempty(answ)
   answ = 'n';
end

if answ == 'y'
   clear In Out
end

% Display help message for user. Goodbye, see U next time...
% ----------------------------------------------------------
disp(' ');
disp('The workspace now contains time trajectories of the twelve inputs');
disp('(six vectors with control inputs and six with atmospheric distur-');
disp('bances) and the 89 outputs from the system BEAVER. The variable');
disp('names of these vectors are self-explaining, but if you have doubts');
disp('about the definitions, examine the help texts INPUTS.HLP and/or');
disp('OUTPUTS.HLP from the subdirectory HELP.');
disp(' ');
disp('The time-axis against which the results can be plotted is con-');
disp('tained in the variable time.');
disp(' ');
disp('Remember that currently:');
disp(' ');
if angledims == 'd'
   disp('  angles are measured in [deg]');
else
   disp('  angles are measured in [rad]');
end
disp(' ');
if ratedims == 'd'
   disp('  angular velocities are measured in [deg/s]');
else
   disp('  angular velocities are measured in [rad/s]');
end
disp(' ');
disp('Ready.');
disp(' ');


% Clear interim variables. Note: unit_angle and unit_rate are 
% not cleared, because they may be used by RESPLOT!
% -----------------------------------------------------------
clear ok answ angledims ratedims c1 c2


%-----------------------------------------------------------------------
% The Flight Dynamics and Control Toolbox version 1.4.0. 
% (c) Copyright Marc Rauw, 1994-2005. Licensed under the Open Software 
% License version 2.1; see COPYING.TXT and LICENSE.TXT for more details.
% Last revision of this file: July 17, 2005. 
%-----------------------------------------------------------------------

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美中文一区二区三区| 国产三级一区二区| 欧美亚洲国产bt| 91性感美女视频| av中文字幕亚洲| 成人福利电影精品一区二区在线观看| 国产呦精品一区二区三区网站| 美女性感视频久久| 黑人巨大精品欧美黑白配亚洲| 精一区二区三区| 国产一区二区三区精品欧美日韩一区二区三区 | 久久成人免费日本黄色| 久久精品国产一区二区| 国产一区91精品张津瑜| 国产精品1024| 99视频一区二区| 欧美在线一区二区| 337p亚洲精品色噜噜| 日韩精品一区二区在线| 久久嫩草精品久久久精品| 久久久综合精品| 成人免费一区二区三区视频| 亚洲精品国产a久久久久久| 亚洲精品国产无天堂网2021| 亚洲国产精品综合小说图片区| 日韩精品亚洲一区二区三区免费| 久久不见久久见免费视频1| 国产成人久久精品77777最新版本 国产成人鲁色资源国产91色综 | 国产高清亚洲一区| www.欧美色图| 欧美日韩国产综合草草| 精品久久久三级丝袜| 中文字幕字幕中文在线中不卡视频| 亚洲一区二区三区在线| 奇米影视7777精品一区二区| 国产一区福利在线| 91在线看国产| 67194成人在线观看| 国产色综合一区| 一区二区激情视频| 麻豆精品在线播放| 波多野结衣在线一区| 欧美日韩高清在线播放| 国产亚洲精品中文字幕| 亚洲国产成人91porn| 日韩三级伦理片妻子的秘密按摩| 久久网这里都是精品| 亚洲欧美激情小说另类| 蓝色福利精品导航| 色呦呦国产精品| 久久这里都是精品| 亚洲一本大道在线| 国产成人精品在线看| 欧美日韩一区二区在线观看| 久久精品亚洲一区二区三区浴池 | 亚洲视频免费看| 免费观看30秒视频久久| av日韩在线网站| 欧美成人r级一区二区三区| 亚洲特级片在线| 精品一区二区影视| 欧亚一区二区三区| 国产精品少妇自拍| 久久精品国产亚洲高清剧情介绍 | 精品国产露脸精彩对白 | 国产一区二区h| 欧美日韩一区在线| 日本一区二区视频在线| 玖玖九九国产精品| 精品视频免费看| 1000精品久久久久久久久| 九九视频精品免费| 香蕉久久一区二区不卡无毒影院| 国产乱国产乱300精品| 欧美一区二区三区精品| 一区二区在线观看av| 成人黄色免费短视频| 欧美不卡一区二区三区四区| 亚洲大尺度视频在线观看| 91尤物视频在线观看| 久久精品水蜜桃av综合天堂| 男人的j进女人的j一区| 精品视频免费看| 亚洲一区自拍偷拍| av电影在线观看一区| 欧美激情综合在线| 国产一区二区三区观看| 日韩亚洲欧美成人一区| 亚洲成av人影院在线观看网| 色av一区二区| 亚洲欧美成人一区二区三区| www.日韩av| 专区另类欧美日韩| 丁香一区二区三区| 欧美国产综合一区二区| 国产精品自在欧美一区| 26uuu亚洲综合色| 久久99国产精品免费网站| 日韩一区二区三区在线| 日韩影院精彩在线| 欧美精品99久久久**| 五月婷婷激情综合网| 欧美日本高清视频在线观看| 午夜精品一区二区三区电影天堂| 在线免费一区三区| 亚洲一二三区在线观看| 欧美日韩精品综合在线| 亚洲高清免费一级二级三级| 亚洲一二三四久久| 欧美三级资源在线| 亚洲一区二区av电影| 欧美日韩激情一区二区三区| 图片区小说区国产精品视频| 91麻豆精品国产| 免费久久精品视频| 久久久综合视频| 国产91综合网| 亚洲女同ⅹxx女同tv| 在线视频你懂得一区| 丝袜美腿亚洲一区| 精品国产乱码久久久久久图片| 国产一区二区在线观看免费| 国产午夜精品久久| 91亚洲精品久久久蜜桃| 亚洲第四色夜色| 日韩一级片网址| 粉嫩aⅴ一区二区三区四区 | 日本不卡高清视频| 欧美成人精品1314www| 国产成人精品综合在线观看| 中文字幕亚洲电影| 欧美日韩一区二区三区视频| 美日韩黄色大片| 国产女人aaa级久久久级 | 国产日韩欧美a| 97久久精品人人澡人人爽| 亚洲午夜免费电影| 精品国产一二三区| 成人动漫精品一区二区| 亚洲国产视频一区| 老司机免费视频一区二区三区| 久久综合久久鬼色中文字| 不卡的av中国片| 日韩电影在线一区二区三区| 久久久精品天堂| 色综合久久中文综合久久牛| 天堂成人国产精品一区| 国产女同互慰高潮91漫画| 欧美中文字幕一区二区三区亚洲| 麻豆精品一区二区| 成人免费在线观看入口| 欧美一区二区三区视频在线观看| 懂色av一区二区三区免费观看| 亚洲一区二区三区小说| 久久久亚洲精品一区二区三区| 色天使久久综合网天天| 黄色日韩网站视频| 亚洲高清在线视频| 欧美经典三级视频一区二区三区| 欧美系列一区二区| 国产成人在线视频网址| 五月激情丁香一区二区三区| 国产免费成人在线视频| 制服丝袜一区二区三区| k8久久久一区二区三区| 久久国产精品72免费观看| 一区二区在线观看视频| 久久精品一区四区| 欧美精品视频www在线观看| 成人美女视频在线看| 天堂精品中文字幕在线| 亚洲免费av网站| 中文av一区二区| 欧美成人国产一区二区| 欧美男男青年gay1069videost | 色吊一区二区三区| 国产成人一级电影| 久久精品国产一区二区| 一区二区三区国产| 亚洲欧美综合网| 国产清纯白嫩初高生在线观看91 | 偷窥国产亚洲免费视频| 中文字幕在线一区| 久久综合狠狠综合久久综合88| 欧美精品日韩一本| 91精彩视频在线| 91视频观看视频| 成人三级在线视频| 国产精品自产自拍| 久88久久88久久久| 免费观看成人av| 日韩高清一级片| 亚洲国产精品自拍| 亚洲最色的网站| 亚洲色大成网站www久久九九| 国产无遮挡一区二区三区毛片日本| 欧美不卡一区二区三区四区| 欧美一区二区精品| 91精品国产欧美一区二区18 | 国产日韩欧美a|