matlab中ans =1.0e 010 比如我输入>> x = 7:16 x =7 8 9 10 11 12 13 14 15 16然后输入>> cumprod(x)就出现ans =1.0e+010 *cumprod(x)不是累计元素连乘吗,出现以上是为什么呢.

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/06 02:47:14

matlab中ans =1.0e 010 比如我输入>> x = 7:16 x =7 8 9 10 11 12 13 14 15 16然后输入>> cumprod(x)就出现ans =1.0e+010 *cumprod(x)不是累计元素连乘吗,出现以上是为什么呢.
matlab中ans =1.0e 010
比如我输入
>> x = 7:16
x =
7 8 9 10 11 12 13 14 15 16
然后输入
>> cumprod(x)
就出现
ans =
1.0e+010 *
cumprod(x)不是累计元素连乘吗,出现以上是为什么呢.

matlab中ans =1.0e 010 比如我输入>> x = 7:16 x =7 8 9 10 11 12 13 14 15 16然后输入>> cumprod(x)就出现ans =1.0e+010 *cumprod(x)不是累计元素连乘吗,出现以上是为什么呢.
cumprod(x)执行之后结果为:
ans =
1.0e+010 *
Columns 1 through 7
0.0000 0.0000 0.0000 0.0000 0.0000 0.0001 0.0009
Columns 8 through 10
0.0121 0.1816 2.9059
它的意思是:这每一个元素的数字都要乘以1.0e+10即10000000000才是最后的正确结果.比如,最后一个数就是29059000000.至于前面几个是0是因为显示的数字的位数不够.你可以通过执行format long之后再执行上述命令就清楚了.

1.0*10的10次方。

matlab中ans =1.0e 010 比如我输入>> x = 7:16 x =7 8 9 10 11 12 13 14 15 16然后输入>> cumprod(x)就出现ans =1.0e+010 *cumprod(x)不是累计元素连乘吗,出现以上是为什么呢. 为什么在matlab中输入sin(pi)得出的结果不是0,而是 >> sin(pi) ans = 1.2246e-016为什么在matlab中输入sin(pi)得出的结果不是0,而是>> sin(pi)ans =1.2246e-016换成>> sin(sym(pi))ans =0却可以得到结果,为什么同样是 matlab!>> format,intmax('uint64'),realmaxans =18446744073709551615ans =1.7977e+308 我用matlab算的,谁能告我为什么会这样的结果,>> 5.1-5-0.1ans =-3.6082e-016>> 1.5-1-0.5ans =0>> matlab中判定 0==1==0 ans=1 是怎么回事? 为什么MATLAB中3*acos(-1/2)==2*pi 的 ans=0? matlab中round函数求解释?>> round(3.12 -3.12)ans =0>> round([3.12 -3.12])ans =3 -3谁能解释下这个? matlab中求导sin(x)+e^x的三阶导数为什么得出来的是多项式?>> diff('sin(x)+x*exp(x)',3)ans =-90 225 -309 240 -6 -230 292 -177 13 -37 216 -311>> poly2sym(ans)ans =-90*x^11+225*x^10-309*x^9+240*x^8-6*x^7-230*x^6+292*x^5-177*x^4+13*x^3-37 matlab中1.0e 015 matlab中怎样算复数的开平方,如>>sqrt(3+4i)ans = 2.0000 + 1.0000i matlab 想留住一组正实数解ans =[ .1846536138869924146643935,7.986748005492751499324976,1421.3443803903520135420418095598][ .1845273287168265848989651-.518860744535330417140e-4*i,7.98128584415339900082029-.224420737255765751358e-2*i,-921.90365 matlab中的序列数如果显示当面(2013/7/3)日期的序列数,> clock ans = 1.0e+003 * 2.0130 0.0070 0.0030 0.0190 0.0480 0.0424Q;什么是日期的序列数?这些2.0130 0.0070 0.0030 0.0190 0.0480 0.0424 matlab解方程组问题,结果为什么带未知量?怎么办?matlab中输入[v1,i1,i2,i3]=solve('i1=(8-v1)/25000','i2=v1/(j*50e-6)','i3=v1/25000','i1=i2+i3');[v1,i1,i2,i3]结果为ans = [ .32000000000000000000000000000000e-3-1.*i3, .320000000000000 matlab一段小代码的疑问for i=0.2:0.2:0.8,i*10,endans =2ans =4ans =6.0000 这个是怎么回事?ans =8 MATLAB中1.0e+008*1. matlab中,1.0e+013*0.急 在matlab中 出现1.0e+003 matlab求矩阵的特征值,为什么转置以后特征值不一样了?如题:> eig(x)ans =8.00000 + 0.00000i0.00000 + 0.00000i0.00000 - 0.00000i-2.00000 + 0.00000i> eig(x')ans =8.0000e+00-2.0000e+00-1.4461e-081.4461e-08