Unix下运行Matlab程序另一问# Computation - 科学计算
w*t
1 楼
我在程序中用到了函数normcdf(就是求正态分布的),Matlab提示如下错误
??? At compilation normcdf was an undefined variable or function.
Function normcdf is now in context. To use a function that is
not in context at compilation use FEVAL or EVAL.
Error in ==> /home/yfan01/jinglu/testd2.m
On line 29 ==> Pke(2,:)=1-normcdf(Am/sqrt(sigma^2+alpha*Am^2),
0,1); % conventional detector
什么意思啊?在windows下运行没有问题。
??? At compilation normcdf was an undefined variable or function.
Function normcdf is now in context. To use a function that is
not in context at compilation use FEVAL or EVAL.
Error in ==> /home/yfan01/jinglu/testd2.m
On line 29 ==> Pke(2,:)=1-normcdf(Am/sqrt(sigma^2+alpha*Am^2),
0,1); % conventional detector
什么意思啊?在windows下运行没有问题。