The answer is either "You cannot", or else "sin(x)", depending what your question is intended to mean.
If you are trying to do operations on continuous functions to infinity, then the only way to do that in MATLAB is to use the symbolic toolbox.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!