Not enough input arguments in function with fsolve
10 views (last 30 days)
Show older comments
I can not figure out what causes this error in this function. Any help will be appreciated. Thanks!
function gx = gx_fermi(y,t1,t2 )
options=optimset('Display','iter');
gx=fsolve(@(t1,t2,y)[0 t1 6*(y^(1/2)) 0]*(t2-t1),[t1,t2,y],options);
% disp(gx);
gx=reshape(gx,[2,2]);
end
1 Comment
See Also
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!