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/15 12:40:39
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是求整数,将小数去掉了