计算向量x的一阶向前差分,可以使用的命令有( )。
A: diff(x)
B: diff(x,1)
C: diff(x,1,2)
D: a=x(1:end-1);b=x(2:end);b-a
A: diff(x)
B: diff(x,1)
C: diff(x,1,2)
D: a=x(1:end-1);b=x(2:end);b-a
举一反三
- 计算向量x的2阶向前差分,可以使用的函数有( )。 A: diff(x,2) B: diff(diff(x)) C: diff(diff(x,1)) D: diff(x,2,2)
- 17e0b849b7d64bd.jpg,计算[img=19x34]17e0ab14a855463.jpg[/img]实验命令为(). A: syms x;f=diff(asinsqrt(x))f=1/2/x^(1/2)/(1-x)^(1/2) B: f=diff(asin(sqrt(x)))f=1/2/x^(1/2)/(1-x)^(1/2) C: syms x;diff(asin(sqrt(x)))f=1/2/x^(1/2)/(1-x)^(1/2)
- 17da42840675a6d.jpg,计算[img=19x34]17da4275482315f.jpg[/img]实验命令为(). A: syms x;f=diff(asinsqrt(x))f=1/2/x^(1/2)/(1-x)^(1/2) B: f=diff(asin(sqrt(x)))f=1/2/x^(1/2)/(1-x)^(1/2) C: syms x;diff(asin(sqrt(x)))f=1/2/x^(1/2)/(1-x)^(1/2)
- 17e0b849d3a4a3b.jpg,计算[img=19x34]17e0ab14a855463.jpg[/img]的实验命令为( ). A: syms x; f=diff((1+sin(x)^2)/cos(x),1)f=2*sin(x) + (sin(x)*(sin(x)^2 + 1))/cos(x)^2 B: f=diff((1+sinx^2)/cosx,1)f=1/2/x^(1/2)/(1-x)^(1/2) C: syms x;f=diff((1+sinx^2)/cosx,1)f=2*sin(x) + (sin(x)*(sin(x)^2 + 1))/cos(x)^2
- 求变上限函数[img=72x35]17da5f1066e9acf.png[/img]对变量x的导数,实验命令是(). A: diff(int(sqrt(a+t),t,x,x^2))ans =2*x*(x^2 + a)^(1/2) - (a + x)^(1/2) B: syms a t; diff(int(sqrt(a+t),t,x,x^2))ans =2*x*(x^2 + a)^(1/2) - (a + x)^(1/2) C: diff('int(sqrt(a+t)','t',x,x^2))ans =2*x*(x^2 + a)^(1/2) - (a + x)^(1/2)