matlab int函数积分后怎么得不出精确值SNR = 4;SNRP = power(10,SNR/10);syms x;M=4;p = (1 - (1 - qfunc(x)).^(M-1)).*exp(-(x - sqrt(2 .* SNRP)).^2./2);Q = int(p,-500,500)得出的结果为:>> P_OR_errorWarning:Explicit integral could not be
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/27 05:26:15
matlab int函数积分后怎么得不出精确值SNR = 4;SNRP = power(10,SNR/10);syms x;M=4;p = (1 - (1 - qfunc(x)).^(M-1)).*exp(-(x - sqrt(2 .* SNRP)).^2./2);Q = int(p,-500,500)得出的结果为:>> P_OR_errorWarning:Explicit integral could not be
matlab int函数积分后怎么得不出精确值
SNR = 4;
SNRP = power(10,SNR/10);
syms x;M=4;
p = (1 - (1 - qfunc(x)).^(M-1)).*exp(-(x - sqrt(2 .* SNRP)).^2./2);
Q = int(p,-500,500)
得出的结果为:
>> P_OR_errorWarning:Explicit integral could not be found.Q = int(exp(-(x - 5047133319109583/2251799813685248)^2/2)*((erfc((2^(1/2)*x)/2)/2 - 1)^3 + 1),x == -500..500) 为什么?怎么才可以得出精确值?
matlab int函数积分后怎么得不出精确值SNR = 4;SNRP = power(10,SNR/10);syms x;M=4;p = (1 - (1 - qfunc(x)).^(M-1)).*exp(-(x - sqrt(2 .* SNRP)).^2./2);Q = int(p,-500,500)得出的结果为:>> P_OR_errorWarning:Explicit integral could not be
int是求整数,将小数去掉了