`info = importdata('......txt')[f_max,~]=size(info.data);%sample frequency of 120Hz`

time_step=1/120;t=(1:f_max)*time_step;

# MATLAB: Using size on a data file, etc… Could someone explain what each step here does exactly

reference frames

###### Related Question

- Is Matlab not importing the entire file when using importdata
- Am I getting this error “Function ‘subsindex’ is not defined for values of class ‘cell’. Error in dp_p2 (line 14) f(n, fmax(2), fmax(3), fmax(4)) = MAX;”
- HDFread and hdfinfo on modis data
- How to write strings and numbers in excel file
- How to find the pixel size of an image

## Best Answer