matlab求定积分报错The integrand function must return an output vector of the same length as the i>> df=@(x)exp(x)*(exp(x))'df = @(x)exp(x)*(exp(x))'>> quad(df,0,1)Error using quad (line 75)The integrand function must return an output vector of

来源:学生作业帮助网 编辑:作业帮 时间:2024/07/27 17:59:13
matlab求定积分报错The integrand function must return an output vector of the same length as the i>> df=@(x)exp(x)*(exp(x))'df = @(x)exp(x)*(exp(x))'>> quad(df,0,1)Error using quad (line 75)The integrand function must return an output vector of
xN@_e.`ƘP۲Pp5=*1x.nϱ4-Q=L]#4}=f_ݦ'x7"#h-pF`!< xGC 4 QF*ŽTRmY6;G/Xv{Qw+ZEGA\U6g_m/{5#nAj!H[3Ed]LVOqx񘔀η =4걠j-AyV.=|<ώ5|1_>@TzE0u6M^~

matlab求定积分报错The integrand function must return an output vector of the same length as the i>> df=@(x)exp(x)*(exp(x))'df = @(x)exp(x)*(exp(x))'>> quad(df,0,1)Error using quad (line 75)The integrand function must return an output vector of
matlab求定积分报错The integrand function must return an output vector of the same length as the i
>> df=@(x)exp(x)*(exp(x))'
df =
@(x)exp(x)*(exp(x))'
>> quad(df,0,1)
Error using quad (line 75)
The integrand function must return an output vector of the same length as the input vector.
求教exp(x)*exp(x)'的定积分如何求得?

matlab求定积分报错The integrand function must return an output vector of the same length as the i>> df=@(x)exp(x)*(exp(x))'df = @(x)exp(x)*(exp(x))'>> quad(df,0,1)Error using quad (line 75)The integrand function must return an output vector of
>> df=@(x) exp(x).*exp(x) % 数值积分要用 点乘
quad(df,0,1)
df =
@(x)exp(x).*exp(x)
ans =
3.1945