MATLAB: Plotting graph with given points given ptgraphMATLABplotpoint basically we always plot graph of certain function such as x = 0 : 1 : 10 y = sinx; plot(x,y,'-r^') lets say given x = 2 y = 15 x = 3 y = 8 x = 8 y = 30 the point is random, how to plot this graph? Best Answer x=[2,3,8]; y=[15,8,30]; plot(x.y)orplot(x,y,'o') for dots Related SolutionsMATLAB: Is there a difference between plot(x,y,’x’) and scatter(x,y,’x’) Like you can see the result is the same, but the two functions plot and scatter are different MATLAB: How to plot a continuous graph from distinct points. x=[1 3 5 6];y=10*ones(size(x));plot(x,y,'o') Related QuestionWont this script plot a graph? the plot shows up empty on the interval 0 – .9, 0 – 1Creating upper and lower thresholds when graphingPlotting the data
Best Answer