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

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -