MATLAB: I get the error Index in position 2 exceeds array bounds (must not exceed 1).

exceeds array bounds

V = X(;,2)*0.028
File attached is X

Best Answer

Try this
X = readmatrix('FinalProj_TVdata.csv');
V = X(:,2)*0.028;
Or this if you are using R2018b or earlier.
X = readtable('FinalProj_TVdata.csv');
V = X{:,2}*0.028;
Related Question