MATLAB: Plot specific columns from matrix matrix plots Hello Everyone , I have a matrix that is 2018X4 double and I need to create a scatter plot that uses column 2 as the X and column 1 as the Y. Is there a simple way to go about doing this? Eric Best Answer You can use, scatter(A(:,1),A(:,2))Where A is the matrix in question. Related SolutionsMATLAB: How to plot certain columns and rows from matrix Let A your matrix with size 33 x 120plot(A(1:3,25:35)') MATLAB: How to select a matrix, row and column vector from within a matrix Read this http://www.mathworks.com/help/matlab/learn_matlab/array-indexing.htmldoc array Related Question
Best Answer