Challenge: Convert attached csv-file into vectors for timestamps, power, and heart_rate data. The file originates from a FIT-file (from a fitness device) converted via FitSDKRelease into a CSV-file.
Problem: I am not able to generate an output via textscan that corresponds to the number of lines (rows) in the csv-file. E.g. the variable DataMat generated via examples below holds values from various rows in the first line (DataMat(1,:)). It somwhow wraps around and the function in Octave is not consistent.
Hint: In OCTAVE dimensions are off. In MATLAB dimensions follow the file.
See: https://se.mathworks.com/matlabcentral/answers/375102-textscan-and-csv-fitness-data-problem