When you run numerical analysis in a digital computer, everything is discrete. If you zoom in enough in the scope, you will see the discrete value.
A better way to see it is to save the output to a workspace variable and then use stairs() to see it.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!