MATLAB: Trouble plotting a graph plotting a graph Trying to plot the speed of a car V=1.5*t^2 need to plot speed vs time Best Answer Tryt=1:0.1:10;V=1.5*t.^2;plot(t,V) Related SolutionsMATLAB: Plotting trouble In your for-loop, x and y are assigned a value one at a time. x and y are always over-written. So at the end of the loop, you end up with x==20 and y==20. The plot just shows one dot.In the second approach, x is a vector and so is y. MATLAB: Having trouble plotting 2 graphs n = 18*12+1; -- is it even or odd?x=1/12*[1:216]; -- does it have an even number of elements or an odd number of elements? Related QuestionPloting graphHaving trouble plottingGraphing
Best Answer