How to plot unitstep function??
Show older comments
I want plot grap

but doesn't work 

thank you
1 Comment
the cyclist
on 6 Oct 2019
For future questions, it is more helpful if you paste the code itself -- not an image of the code -- so that we can copy into the MATLAB editor. (Or upload a *.m file with the code.)
Answers (1)
the cyclist
on 6 Oct 2019
I think you want to enclose these terms
exp(-3*t) - exp(-6*t)
in parentheses, so that they are both multiplied by the heaviside function.
Categories
Find more on Debugging and Improving Code in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!