Hi,
how have you defined your X-vector? Because the look of your plot depends on this X-vector. If you use for example
X = 0:1:100;
as vector definition, the plot will be a line.
Cheers Wine
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!