MATLAB: Plotting data from a .csv file .csv file Hi I need to plot a graph in MATLAB using data from a .csv file which has 2 columns of data, column A and column B. Can you please tell me the codes to use to do that? Thanks. Winee Best Answer you can do it as follows:Array=csvread('filename.csv');col1 = Array(:, 1);col2 = Array(:, 2);plot(col1, col2) Related SolutionsMATLAB: Converting matrix to column col1 = array(:, 1);col2 = array(:, 2);col3 = array(:, 3);col4 = array(:, 4); MATLAB: Plotting RMS from .csv files RMS = (sum(col2.^2)/length(col2))^0.5; Related QuestionI am reading the data from csv files but getting errorHow can i add a main line and main column for the table
Best Answer