资源简介

高超声速飞行器上升轨迹优化计算。采用勒让德伪谱法直接优化方法。

资源截图

代码片段和文件信息

function [rhocascPgT]=atmos84(altitude)
% Function to determine gravitational acceleration pressure density and 
%speed of sound as a function of height.  Function based on US Standard 
%Atmosphere of 1976.  All calculations performed in metric units but 
%converted to english if the user chooses.
%
% Input  o h (meters)
% Output o rho - Density (kg/m^3 )
%        o as - speed of sound (m/s )
%        o g - gravitational acceleration(m/s^2)
%        o T - temperature(K)
%        o P - Pressure (pa )


gamma = 1.4;     %Ratio of specific heats
R = 287.053;     %Gas constant for air (J/kg-K)
Z0=0.0;
RE = 6371020.0;  %Earth Radius(m)
%Initial Values
T0 = 288.15;     %(k)
P0 = 1.01325e5;  %(pa)
rho0 = 1.225;    %(kg/m^3)
g0 = 9.80665;    %Acceleration of gravity (

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       2818  2012-09-23 23:06  hybrid_pseudo_L\atmos84.m

     文件       2242  2012-10-08 21:22  hybrid_pseudo_L\computeD.m

     文件      12096  2011-11-26 11:09  hybrid_pseudo_L\cpp_state_compute.cpp

     文件      13824  2011-11-26 11:09  hybrid_pseudo_L\cpp_state_compute.mexw32

     文件        268  2012-09-28 19:47  hybrid_pseudo_L\creatLagrange.asv

     文件        246  2012-10-08 15:45  hybrid_pseudo_L\creatLagrange.m

     文件        350  2012-10-08 20:29  hybrid_pseudo_L\creatLegendre.m

     文件       3424  2011-11-26 16:37  hybrid_pseudo_L\differential.m

     文件       3281  2011-11-26 17:55  hybrid_pseudo_L\differentialI.m

     文件       2432  2012-09-13 20:21  hybrid_pseudo_L\differential_integral.m

     文件      17894  2012-10-05 13:09  hybrid_pseudo_L\hs_err_pid12220.log

     文件       4202  2011-11-26 22:03  hybrid_pseudo_L\hybrid-pseudo-spectral.m

     文件        752  2011-11-26 18:15  hybrid_pseudo_L\hyL.mat

     文件       3351  2011-11-27 12:23  hybrid_pseudo_L\mkpic.m

     文件        199  2011-11-26 17:56  hybrid_pseudo_L\MyOdeI.m

     文件        106  2012-10-08 22:07  hybrid_pseudo_L\nolcon.m

     文件        317  2011-11-26 16:09  hybrid_pseudo_L\obj.m

     文件       7408  2012-10-02 18:14  hybrid_pseudo_L\pseudo-spectral.asv

     文件      12096  2011-11-26 11:09  hybrid_pseudo_L\re\cpp_state_compute.cpp

     文件      13824  2011-11-26 11:09  hybrid_pseudo_L\re\cpp_state_compute.mexw32

     文件       2329  2012-11-19 20:04  hybrid_pseudo_L\re\mkpic.m

     文件        362  2011-11-26 20:12  hybrid_pseudo_L\re\x_shoot_sqp10node.mat

     文件        511  2011-11-26 18:41  hybrid_pseudo_L\re\x_shoot_sqpfeasible19.mat

     文件       1209  2011-11-23 21:03  hybrid_pseudo_L\resL\x_hybrid_L1.mat

     文件       1207  2011-11-25 15:52  hybrid_pseudo_L\resL\x_hybrid_L19.mat

     文件       1987  2011-11-25 15:23  hybrid_pseudo_L\resL\x_hybrid_L37.mat

     文件       1265  2012-10-07 21:27  hybrid_pseudo_L\resL\x_modifyloc.mat

     文件        452  2011-11-23 20:52  hybrid_pseudo_L\resL\x_shoot0.mat

     文件       1337  2012-09-13 20:20  hybrid_pseudo_L\rk_integral.m

     文件       2643  2011-11-26 16:16  hybrid_pseudo_L\shoot0.mat

............此处省略18个文件信息

评论

共有 条评论