MATLAB: How to perform a mathematical operations on all elements of a column of numerical data imported from Excel in Matlab

elementsimporting excel dataMATLAB

I have imported 2 columns of numerical data from excel in matlab and I want to divide each element of the first column by sqrt(3), how can that be done in matlab?

Best Answer

Try this:
D = xlsread('YourFile.xlsx');
D1new = D(:,1)/sqrt(3);
Related Question