erg2

y =

     1     2     3     4     5     6     7     8     9    10


k =

     1


x =

  Columns 1 through 7

    1.0000    0.5000    0.3333    0.2500    0.2000    0.1667    0.1429

  Columns 8 through 10

    0.1250    0.1111    0.1000

erg1
{Undefined function or variable 'erg1'.
} 
erg2

y =

     1     2     3     4     5     6     7     8     9    10


k =

     1


x =

  Columns 1 through 6

    1.0000    0.5000    0.3333    0.2500    0.2000    0.1667

  Columns 7 through 10

    0.1429    0.1250    0.1111    0.1000

erg2

y =

     1     2     3     4     5     6     7     8     9    10


k =

     1


x =

  Columns 1 through 6

    1.0000    0.5000    0.3333    0.2500    0.2000    0.1667

  Columns 7 through 10

    0.1429    0.1250    0.1111    0.1000


y =

     0     2     3     4     5     6     7     8     9    10


y =

     0     1     3     4     5     6     7     8     9    10


y =

     0     1     1     4     5     6     7     8     9    10


y =

     0     1     1     2     5     6     7     8     9    10


y =

     0     1     1     2     3     6     7     8     9    10


y =

     0     1     1     2     3     5     7     8     9    10


y =

     0     1     1     2     3     5     8     8     9    10


y =

     0     1     1     2     3     5     8    13     9    10


y =

     0     1     1     2     3     5     8    13    21    10


y =

     0     1     1     2     3     5     8    13    21    34


y =

     0     1     1     2     3     5     8    13    21    34    55


y =

  Columns 1 through 11

     0     1     1     2     3     5     8    13    21    34    55

  Column 12

    89

erg2
{Error using <a href="matlab:helpUtils.errorDocCallback('mtimes')" style="font-weight:bold"> * </a>
Inner matrix dimensions must agree.

Error in <a href="matlab:helpUtils.errorDocCallback('erg2', 'G:\hy213_matlab\lab2\erg2.m', 33)" style="font-weight:bold">erg2</a> (<a href="matlab: opentoline('G:\hy213_matlab\lab2\erg2.m',33,0)">line 33</a>)
z = x*y
} 
erg2
{Error using <a href="matlab:helpUtils.errorDocCallback('mtimes')" style="font-weight:bold"> * </a>
Inner matrix dimensions must agree.

Error in <a href="matlab:helpUtils.errorDocCallback('erg2', 'G:\hy213_matlab\lab2\erg2.m', 33)" style="font-weight:bold">erg2</a> (<a href="matlab: opentoline('G:\hy213_matlab\lab2\erg2.m',33,0)">line 33</a>)
z = x*y'
} 
erg2
{Error using <a href="matlab:helpUtils.errorDocCallback('mtimes')" style="font-weight:bold"> * </a>
Inner matrix dimensions must agree.

Error in <a href="matlab:helpUtils.errorDocCallback('erg2', 'G:\hy213_matlab\lab2\erg2.m', 33)" style="font-weight:bold">erg2</a> (<a href="matlab: opentoline('G:\hy213_matlab\lab2\erg2.m',33,0)">line 33</a>)
z = x*(y)'
} 
erg2

y =

  Columns 1 through 11

     0     1     1     2     3     5     8    13    21    34    55

  Column 12

    89


x =

  Columns 1 through 6

    1.0000    0.5000    0.3333    0.2500    0.2000    0.1667

  Columns 7 through 10

    0.1429    0.1250    0.1111    0.1000

{Error using <a href="matlab:helpUtils.errorDocCallback('mtimes')" style="font-weight:bold"> * </a>
Inner matrix dimensions must agree.

Error in <a href="matlab:helpUtils.errorDocCallback('erg2', 'G:\hy213_matlab\lab2\erg2.m', 35)" style="font-weight:bold">erg2</a> (<a href="matlab: opentoline('G:\hy213_matlab\lab2\erg2.m',35,0)">line 35</a>)
z = x*y
} 
erg2

y =

     0     1     1     2     3     5     8    13    21    34


x =

  Columns 1 through 6

    1.0000    0.5000    0.3333    0.2500    0.2000    0.1667

  Columns 7 through 10

    0.1429    0.1250    0.1111    0.1000

{Error using <a href="matlab:helpUtils.errorDocCallback('mtimes')" style="font-weight:bold"> * </a>
Inner matrix dimensions must agree.

Error in <a href="matlab:helpUtils.errorDocCallback('erg2', 'G:\hy213_matlab\lab2\erg2.m', 35)" style="font-weight:bold">erg2</a> (<a href="matlab: opentoline('G:\hy213_matlab\lab2\erg2.m',35,0)">line 35</a>)
z = x*y
} 
erg2

y =

     0     1     1     2     3     5     8    13    21    34


x =

  Columns 1 through 6

    1.0000    0.5000    0.3333    0.2500    0.2000    0.1667

  Columns 7 through 10

    0.1429    0.1250    0.1111    0.1000


z =

   11.2679

y'

ans =

     0
     1
     1
     2
     3
     5
     8
    13
    21
    34

erg2

y =

     0     1     1     2     3     5     8    13    21    34


x =

  Columns 1 through 6

    1.0000    0.5000    0.3333    0.2500    0.2000    0.1667

  Columns 7 through 10

    0.1429    0.1250    0.1111    0.1000


z =

   11.2679

diary of
