plot - how to let each element in a vector be plotted in 1 second on the x axis in matlab -
i have vector x=[0 0 0 1 1 2 1 3 1 4] need plot stairs graph space between each element , 1 on x axis must 1 unit or 1 second example , when vector elements increase matlab plot more 1 element in same unit on x axis
so how can adjust x axis plot each element in 1 second on x axis ?
Comments
Post a Comment