Export time series data as csv
Ältere Kommentare anzeigen
I have a csv with 2 columns in, the first is the timestamp (2021-02-27 12:00:00), and the 2nd is heartrates. Ive calculated a moving average of the heartrate coulmn and wish to export the moving average values along with the timestamps as a new csv. Everything uve tried doesnt seem to work so any help would be much apprecieted.
Antworten (2)
EmirBeg
am 4 Mai 2021
data = [timestamps movavgval]; %or however your arrays are called
writematrix(data,'data.csv');
KSSV
am 4 Mai 2021
0 Stimmen
Read about writetable
Kategorien
Mehr zu Dates and Time finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!