Not enough input arguments in function with fsolve
10 次查看(过去 30 天)
显示 更早的评论
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Deep Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!