Hi -
While this may not be the Octave solution requested, it is a practical solution. Install R and RStudio (both freely available). Read your csv directly and inspect it in a nice tabular format. The first few lines are a little confusing, but the data mostly look good. Converting to a set of individual vectors should be no problem with some minor clean-up.
Stu
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
<2017-08-11-143641-ELEMNT BOLT 2779-2-0.csv>_______________________________________________ Help-octave mailing list address@hiddenhttps://lists.gnu.org/mailman/listinfo/help-octave
|