How can I best "read" these and store them in a separate vector / matrix?
file = 'C:\Users\name\Documents\MATLAB\5M_60°_4_5MHz_20V_C.csv';
num = xlsread(file);
I am now interested in the amplitude values at certain frequencies (e.g., 2,3,4,5 MHz).
target = 2.0;
[~, closestIdx] = min(abs(num(:,1) - target));
If you're looking for specific peaks, check out findpeaks() function.