Advertisement
orgicus

bode_test

Mar 28th, 2011
569
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 3.03 KB | None | 0 0
  1. tau =
  2.  
  3.    1   2   3
  4.  
  5. g =
  6. {
  7.   num =  1
  8.   den =
  9.  
  10.      1   1
  11.  
  12.   sys =
  13.  
  14.      0   1   0   0
  15.  
  16.   tsam = 0
  17.   n =  1
  18.   nz = 0
  19.   yd = 0
  20.   inname =
  21.  
  22.   {
  23.     [1,1] = u_1
  24.   }
  25.  
  26.   outname =
  27.  
  28.   {
  29.     [1,1] = y_1
  30.   }
  31.  
  32.   stname =
  33.  
  34.   {
  35.     [1,1] = x_1
  36.   }
  37.  
  38. }
  39.  
  40. g =
  41. {
  42.   num =
  43.  
  44.   (,
  45.     [1] =  1
  46.     [2] =  1
  47.   ,)
  48.  
  49.   den =
  50.  
  51.   (,
  52.     [1] =
  53.  
  54.        1   1
  55.  
  56.     [2] =
  57.  
  58.        2   1
  59.  
  60.   ,)
  61.  
  62.   sys =
  63.  
  64.   (,
  65.     [1] =
  66.  
  67.        0   1   0   0
  68.  
  69.     [2] =
  70.  
  71.        0   1   0   0
  72.  
  73.   ,)
  74.  
  75.   tsam =
  76.  
  77.   (,
  78.     [1] = 0
  79.     [2] = 0
  80.   ,)
  81.  
  82.   n =
  83.  
  84.   (,
  85.     [1] =  1
  86.     [2] =  1
  87.   ,)
  88.  
  89.   nz =
  90.  
  91.   (,
  92.     [1] = 0
  93.     [2] = 0
  94.   ,)
  95.  
  96.   yd =
  97.  
  98.   (,
  99.     [1] = 0
  100.     [2] = 0
  101.   ,)
  102.  
  103.   inname =
  104.  
  105.   (,
  106.     [1] =
  107.  
  108.     {
  109.       [1,1] = u_1
  110.     }
  111.  
  112.     [2] =
  113.  
  114.     {
  115.       [1,1] = u_1
  116.     }
  117.  
  118.   ,)
  119.  
  120.   outname =
  121.  
  122.   (,
  123.     [1] =
  124.  
  125.     {
  126.       [1,1] = y_1
  127.     }
  128.  
  129.     [2] =
  130.  
  131.     {
  132.       [1,1] = y_1
  133.     }
  134.  
  135.   ,)
  136.  
  137.   stname =
  138.  
  139.   (,
  140.     [1] =
  141.  
  142.     {
  143.       [1,1] = x_1
  144.     }
  145.  
  146.     [2] =
  147.  
  148.     {
  149.       [1,1] = x_1
  150.     }
  151.  
  152.   ,)
  153.  
  154. }
  155.  
  156. g =
  157. {
  158.   num =
  159.  
  160.   (,
  161.     [1] =  1
  162.     [2] =  1
  163.     [3] =  1
  164.   ,)
  165.  
  166.   den =
  167.  
  168.   (,
  169.     [1] =
  170.  
  171.        1   1
  172.  
  173.     [2] =
  174.  
  175.        2   1
  176.  
  177.     [3] =
  178.  
  179.        3   1
  180.  
  181.   ,)
  182.  
  183.   sys =
  184.  
  185.   (,
  186.     [1] =
  187.  
  188.        0   1   0   0
  189.  
  190.     [2] =
  191.  
  192.        0   1   0   0
  193.  
  194.     [3] =
  195.  
  196.        0   1   0   0
  197.  
  198.   ,)
  199.  
  200.   tsam =
  201.  
  202.   (,
  203.     [1] = 0
  204.     [2] = 0
  205.     [3] = 0
  206.   ,)
  207.  
  208.   n =
  209.  
  210.   (,
  211.     [1] =  1
  212.     [2] =  1
  213.     [3] =  1
  214.   ,)
  215.  
  216.   nz =
  217.  
  218.   (,
  219.     [1] = 0
  220.     [2] = 0
  221.     [3] = 0
  222.   ,)
  223.  
  224.   yd =
  225.  
  226.   (,
  227.     [1] = 0
  228.     [2] = 0
  229.     [3] = 0
  230.   ,)
  231.  
  232.   inname =
  233.  
  234.   (,
  235.     [1] =
  236.  
  237.     {
  238.       [1,1] = u_1
  239.     }
  240.  
  241.     [2] =
  242.  
  243.     {
  244.       [1,1] = u_1
  245.     }
  246.  
  247.     [3] =
  248.  
  249.     {
  250.       [1,1] = u_1
  251.     }
  252.  
  253.   ,)
  254.  
  255.   outname =
  256.  
  257.   (,
  258.     [1] =
  259.  
  260.     {
  261.       [1,1] = y_1
  262.     }
  263.  
  264.     [2] =
  265.  
  266.     {
  267.       [1,1] = y_1
  268.     }
  269.  
  270.     [3] =
  271.  
  272.     {
  273.       [1,1] = y_1
  274.     }
  275.  
  276.   ,)
  277.  
  278.   stname =
  279.  
  280.   (,
  281.     [1] =
  282.  
  283.     {
  284.       [1,1] = x_1
  285.     }
  286.  
  287.     [2] =
  288.  
  289.     {
  290.       [1,1] = x_1
  291.     }
  292.  
  293.     [3] =
  294.  
  295.     {
  296.       [1,1] = x_1
  297.     }
  298.  
  299.   ,)
  300.  
  301. }
  302.  
  303. error: mapper: wrong type argument `struct'
  304. error: evaluating argument list element number 1
  305. error: evaluating argument list element number 1
  306. error: evaluating binary operator `!=' near line 41, column 31
  307. error: evaluating binary operator `&&' near line 41, column 36
  308. error: if: error evaluating conditional expression
  309. error: evaluating if command near line 36, column 3
  310. error: called from `freqchkw' in file `/Applications/Octave.app/Contents/Resources/share/octave/3.0.3/m/control/base/freqchkw.m'
  311. error: evaluating assignment expression near line 69, column 8
  312. error: called from `__bodquist__' in file `/Applications/Octave.app/Contents/Resources/share/octave/3.0.3/m/control/base/__bodquist__.m'
  313. error: called from `bode' in file `/Applications/Octave.app/Contents/Resources/share/octave/3.0.3/m/control/base/bode.m'
  314. error: near line 6 of file `/Users/george/octave/bode_test.m'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement