I assume importlowesoftssh is user-defined function. So, I cannot run the code at my end. However, from error, I think you need to sort the time column of sshtimetable file either in ascending/descending order to resolve the issue.
How do I interpolate a set of data?
2 次查看(过去 30 天)
显示 更早的评论
Hi,
I'm trying to interpolate a set of data, however, I keep getting the error message " Error using timetable/retime (line 140)
Input timetables must contain sorted (increasing or decreasing) row times when synchronizing using 'linear' ". Can anyone help me out? The data is a 15 minute data that I need retimed to 1 second. The code used seen below and the data is attached.
%import data
Lowesoftsst_10_2019 = importlowesoftssh('LowesoftTidal_10_2019.csv');
%change table to timetable
sshtimetable = table2timetable(Lowesoftsst_10_2019);
% Retime timetable
sshretimed = retime(sshtimetable,'regular','linear','TimeStep',seconds(1))
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Descriptive Statistics 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!