|
Steve, do you know how to plot a impulse graph without using impulse function?
"Steven Lord" <slord@mathworks.com> wrote in message <haktcs$2lv$1@fred.mathworks.com>...
>
> "Jonas Baumann" <baumann.jonas@gmail.com> wrote in message
> news:haksib$5t4$1@fred.mathworks.com...
> > Is there an easy ellegant way to plot(t,x) but with (t1,x1)->(t2,x2) not
> > connected but rather leaving x constant at x1 between t1 and t2, then
> > stepping x to x2, again leaving it constant from t2 to t3 and so on?
>
> From your description, it sounds like you want the STAIRS function.
>
> --
> Steve Lord
> slord@mathworks.com
> comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
>
|