matlab的问题,急急急!!!
来源:百度知道 编辑:UC知道 时间:2024/08/31 12:41:32
>> p=[0.80:0.01:0.99]
p =
Columns 1 through 12
0.8000 0.8100 0.8200 0.8300 0.8400 0.8500 0.8600 0.8700 0.8800 0.8900 0.9000 0.9100
Columns 13 through 20
0.9200 0.9300 0.9400 0.9500 0.9600 0.9700 0.9800 0.9900
>> x=solve('1/x^2+log(p)*p^x','x')
x =
2*lambertw(1/2*(-log(p))^(1/2))/log(p)
2*lambertw(-1/2*(-log(p))^(1/2))/log(p)
>> x=subs(x)
x =
Columns 1 through 12
-1.7428 -1.8018 -1.8655 -1.9346 -2.0100 -2.0927 -2.1839 -2.2854 -2.3993 -2.5281 -2.6757 -2.8472
2.9382 2.9829 3.0330 3.0893 3.1523 3.2233 3.3033 3.3941 3.4976 3.6165 3.7546 3.9168
Columns 13 through 20
-3.0496 -3.2939 -3.5968 -3.9863 -4.5138 -5.2866 -6.5829 -9.5095
4.110