1 2 3 4 5 6 7 8 9 10
function result1= estimator1(X) result1= X(1); //result2= mean(X); endfunction function result2= estimator2(X) //result1= X(1); result2= mean(X); endfunction