Numerical treatment of functions with endpoint singularities via sinc technology combined with conformal mappings. Matlab implementation.