求助:关于maltab的M函数
function y=Bi(x)
%函数名:Bi
%函数功能:计算函数Bi
%参数:x,t
y=(1/pi)*int((exp((-(t^3)/3)+x*t)+sin((t^3)/3+x*t)),t,0,inf)
end
y=Bi(0.1)
为什么有错误:
??? function y=Bi(x)
|
Error: Function definitions are not permitted at the prompt or in scripts.
此帖于 2009-07-11 22:56 被 yuwk77 编辑。
原因: 题目意义不明确
|