function [fu] = f(a)a=input('请输入自变量值,定义区间为【0,2,4,6,8,10】);if(a<5)fu = a;elseif(5fu = b;else fu =c;endif
x=input('请输入定义域,例如输入[1,2,3,4,5] :' );y=input('请输入值域,例如输入[11,12,13,14,15] :' );