-1

Matlab では、ベッセル関数 j1(x) を微分すると、x= 1:10 で 10 ではなく 9 つの値が得られるのはなぜですか?

x=1:10

J = besselj(1,x)

d_J = diff(J)

x =

     1     2     3     4     5     6     7     8     9    10


J =

  Columns 1 through 7

    0.4401    0.5767    0.3391   -0.0660   -0.3276   -0.2767   -0.0047

  Columns 8 through 10

    0.2346    0.2453    0.0435


d_J =

  Columns 1 through 7

    0.1367   -0.2377   -0.4051   -0.2615    0.0509    0.2720    0.2393

  Columns 8 through 9

    0.0107   -0.2018
4

2 に答える 2