matlab中关于piecewise的问题

matlab中关于piecewise的问题

f = @(u) 0.5*quadgk(@(s) exp(-s)./s,u,inf); % 数值积分

f(0.1) % u = 0.1

f(1) % u = 1

标签:matlab,piecewise