No BSD License  

Highlights from
ChebyshevTools

from ChebyshevTools by Michael Watson
Tool box for solving ODE/PDEs using spectral Chebyshev differentiation matrices.

y=myC(p)
function y=myC(p)

if p == 0
    y=2;
elseif p < 0
    y=0;
else
    y=1;
end

return
     

Contact us at files@mathworks.com