function [ ] = pleaseagain(Request,N)
function y=f(x)
y=0.5*19.2*N+x-x;
end
function h=g(m)
h=quadl(@f,m,1)-Request;
end
fzero(@g,-1); %查找fun函数在x0附近的零点
end
错误提示:
Error using fzero (line 289)
FZERO cannot continue because user supplied function_handle ==> pleaseagain/g
failed with the error below.
Integers can only be combined with integers of the same class, or scalar doubles.
新手跪求指点!~(>_<)~