Export time series data as csv
101 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(2 个)
EmirBeg
2021-5-4
data = [timestamps movavgval]; %or however your arrays are called
writematrix(data,'data.csv');
2 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 String Parsing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!