Assuming you have the time vector stored in variable t
and the acceleration vector stored in variable a
, you can create a plot of acceleration vs. time using the plot
function in MATLAB as follows:
main.m80 chars5 lines
This will create a plot with time on the x-axis and acceleration on the y-axis, with appropriate labels and a title.
gistlibby LogSnag