MATLAB: How to plot the uploaded csv file for each X value there are different Y values. as X = row 1 and Y = column 2 to 6? shown that in color waves . 3d plotsplotplottingsurface Best Answer clearA= xlsread('work.csv')plot(A(1,:),A(2:end,:),'linewidth',2) Related SolutionsMATLAB: Plot two different rows in x and y plot(a(1,:),a(2,:)) MATLAB: Y = X . COS(X) . SIN(X) You didn't say over what range to plot x, so I'm going to assume it's from -20 to 20. Adapt as needed:% Choose a range for x and use 500 points.X = linspace(-20, 20, 500);% Create YY = X .* cos(X) .* sin(X);% Plot the function.plot(X, Y, 'b-', 'LineWidth', 2);grid on;xlabel('X', 'FontSize', 15);ylabel('Y', 'FontSize', 15);title('Y = X .* cos(X) .* sin(X)', 'FontSize', 15);axis equal;% Make a black line at the x and y axesline(xlim, [0, 0], 'Color', 'k', 'LineWidth', 2);line([0, 0], ylim, 'Color', 'k', 'LineWidth', 2); Related QuestionHow can i plot a graph with different y values for a particular x valuePlotting with different colorsY = e^(-x^2)Minimum y-value in each columnHow to plot a graph of this equation
Best Answer