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)