cell array question finding minimums of intervals of time matrices
1 次查看(过去 30 天)
显示 更早的评论
I have a cell array that is a 1:100 cell (cellarray1). each one of the contents of that cell is ALSO a cell. The contents of each of those cells is time data that is either a 1X20 double, 1:30 double, a 1X200 double or anywhere in between.
I want to loop through the whole cell array, take every matrix of time data in the cell array, then we will say that m= the length of any random array of time data in the cell array. For each of the arrays of time data, I want to take the (2:m)-(1:m-1). Then I will have the deltas between the time points for every cell array in the intire cell array.
Then I want to take the minimum number of each cell array and store that in an array.
(I can then use datestr(timearray1),'HH:MM:SS.FFF') to get all the minimum time intervals for every array in cellarray1.
3 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Loops and Conditional Statements 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!