'retime' with multiple methods?
이전 댓글 표시
'retime' uses a method to aggregate data
TT3 = retime(TT,'hourly','mean')
Is it possible to use two methods to calculate mean and standad deviation,
TT3 = retime(TT,'hourly',{'mean','@std'}) (this does not work)
Or is it possible to have a function manipulation?
TT3 = retime(TT,'hourly',@std*@mean) (this does not work)
댓글 수: 3
Rik
2020년 7월 7일
After >200 question you should have learned to describe your intended output.
Adam Danz
2020년 7월 7일
The documentation for retime > method states that method can be character vector | string scalar | function handle and the function handle must return a scalar. You can use the mean and std separately and then combine the output tables.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Timetables에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!