~ubuntu-branches/ubuntu/quantal/octave-control/quantal

« back to all changes in this revision

Viewing changes to inst/jet707.m

  • Committer: Bazaar Package Importer
  • Author(s): Rafael Laboissiere
  • Date: 2009-05-24 12:05:04 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20090524120504-seb43rd9wxtp17ka
Tags: 1.0.10-1
* New upstream release
* debian/patches/no-check-failure-acker-place.diff: Get around precision
  problems when testing functions acker and place
* debian/rules:
  + Include patchsys-quilt.mk
  + Remove unneeded documentation sources from /usr/share/doc
* debian/control:
  + (Build-Depends): Add quilt
  + (Standards-Version): Bump to 3.8.1 (no changes needed)
  + (Depends): Add ${misc:Depends}
  + (Vcs-Git, Vcs-Browser): Adjust to new Git repository
* debian/source.lintian-overrides: Add file for overriding Lintian
  warnings build-depends-without-arch-dep
* debian/copyright:
  + Use DEP5 URL in Format-Specification
  + Use separate License stanzas for instructing about the location of
    the different licenses used in the package
* debian/README.source: Add file explaining the quilt patch system, as
  required by the Policy

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
## Copyright (C) 1997, 2000, 2004, 2005, 2006, 2007 Kai P. Mueller
 
2
##
 
3
##
 
4
## This program is free software; you can redistribute it and/or modify it
 
5
## under the terms of the GNU General Public License as published by
 
6
## the Free Software Foundation; either version 3 of the License, or (at
 
7
## your option) any later version.
 
8
##
 
9
## This program is distributed in the hope that it will be useful, but
 
10
## WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
12
## General Public License for more details.
 
13
##
 
14
## You should have received a copy of the GNU General Public License
 
15
## along with this program; see the file COPYING.  If not, see
 
16
## <http://www.gnu.org/licenses/>.
 
17
 
 
18
## -*- texinfo -*-
 
19
## @deftypefn {Function File} {@var{sys} =} jet707 ()
 
20
## Creates a linearized state-space model of a Boeing 707-321 aircraft
 
21
## at @var{v}=80 m/s 
 
22
## @iftex
 
23
## @tex
 
24
## ($M = 0.26$, $G_{a0} = -3^{\circ}$, ${\alpha}_0 = 4^{\circ}$, ${\kappa}= 50^{\circ}$).
 
25
## @end tex
 
26
## @end iftex
 
27
## @ifinfo
 
28
## (@var{M} = 0.26, @var{Ga0} = -3 deg, @var{alpha0} = 4 deg, @var{kappa} = 50 deg).
 
29
## @end ifinfo
 
30
##
 
31
## System inputs: (1) thrust and (2) elevator angle.
 
32
##
 
33
## System outputs:  (1) airspeed and (2) pitch angle.
 
34
##
 
35
## @strong{Reference}: R. Brockhaus: @cite{Flugregelung} (Flight
 
36
## Control), Springer, 1994.
 
37
## @seealso{ord2}
 
38
## @end deftypefn
 
39
 
 
40
## Author: Kai P. Mueller <mueller@ifr.ing.tu-bs.de>
 
41
## Created: September 28, 1997
 
42
 
 
43
function outsys = jet707 ()
 
44
 
 
45
  if (nargin != 0)
 
46
    print_usage ();
 
47
  endif
 
48
 
 
49
  a = [-0.46E-01,            0.10681415316, 0.0,   -0.17121680433;
 
50
       -0.1675901504661613, -0.515,         1.0,    0.6420630320636088E-02;
 
51
        0.1543104215347786, -0.547945,     -0.906, -0.1521689385990753E-02;
 
52
        0.0,                 0.0,           1.0,    0.0];
 
53
 
 
54
  b = [0.1602300107479095,      0.2111848453E-02;
 
55
       0.8196877780963616E-02, -0.3025E-01;
 
56
       0.9173594317692437E-01, -0.75283075;
 
57
       0.0,                     0.0];
 
58
 
 
59
  c = [1.0, 0.0, 0.0, 0.0;
 
60
       0.0, 0.0, 0.0, 1.0];
 
61
 
 
62
  d = zeros(2,2);
 
63
 
 
64
  inam = {"thrust"; "rudder"};
 
65
  onam = {"speed"; "pitch"};
 
66
  snam = {"x1"; "x2"; "x3"; "x4"};
 
67
 
 
68
  outsys = ss (a, b, c, d, 0.0, 4, 0, snam, inam, onam);
 
69
 
 
70
endfunction