You can use the linspace
function to generate a vector of 351 values between 0 and 12000 and then plot it using the plot
function. Here's the code:
main.m79 chars6 lines
This will generate a simple plot of the vector x
. You can customize the plot by adding axis labels, a title, changing line colors, etc.
gistlibby LogSnag