MATLAB: How to form a matrix of 400 X 7 and multiply values of 1st column of matrix with 4th Column matrixmean square error How can I form a matrix of 400 X 7 and multiply values of 1st column of matrix with 4th Column ? Best Answer EDITED[num,~,~]=xlsread('myexcelfile.xlsx')RESULT = num(:,1).*num(:,3)average = mean(RESULT) Related SolutionsMATLAB: Find the first column of a 3×3 matrix A = rand(3,3);x = A(:,1); MATLAB: Intersection of two matrices based on 1st column [~, rowstokeep] = setdiff(B(:, 1), A(:, 1)); %get index of rows in B whose 1st column is not in 1st column of AC = B(rowstokeep, :) Related Question1st order differential equationGet the last 5 column for 1st rowMean of 6TH, 7TH AND 8TH numbers of every columnHow can i change the 1st row 1st column and last row last column values in a tridiagonal matrix
Best Answer