How can I device a time series A by a Time series B if they are the same size?
1 view (last 30 days)
Show older comments
I have 2 time series, they are both the same size but I don't know how to devide time series A by time series B.
Also, Once is A/B. How can I get the max value regardless of time?
Thanks
0 Comments
Answers (1)
thoughtGarden
on 20 Sep 2019
Time series division is the same as general variable division
>> timeS1 = timeseries(linspace(1,2));
>> timeS2 = timeseries(linspace(1,5));
>> newSeries = timeS1/timeS2; %this works...
to find the max value, use the max() function
timeSeriesMax = max(newSeries);
7 Comments
thoughtGarden
on 24 Sep 2019
If you found this answer to be correct, please accept it. Otherwise, please add aditional comments so that it may be improved.
See Also
Categories
Find more on Time Series Events in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!