I separately wrote the following function
function [func] = fwet_1(~)func = @(gm1,Sc,Scmax) (Sc/Scmax)^gm1;end
and when I to run
fwet_1(0.23,1,3)
it returns
Error using fwet_1
Too many input arguments.
any idea?
MATLABmatlab function
function [func] = fwet_1(~)func = @(gm1,Sc,Scmax) (Sc/Scmax)^gm1;end
fwet_1(0.23,1,3)
Best Answer