フィルターのクリア

Averaging Varying Length Vector Sets to 1 Vector

2 ビュー (過去 30 日間)
Grant Ashby
Grant Ashby 2020 年 4 月 8 日
I am trying to use the built in autocorrelation function within the econometrics toolbox to analyze some data. The data set is supposed to decay to zero at different points, and I care about trying to find the average plot of where this decays to zero. The issue is that the data set is different lengths so I concatenate on nan's which are discarded to get vectors to match the longest vector of interest.
Because of the way this is set up with each vector being its own row, I have used nanmean and nanmedian down the columns to try to determine my average plot. The issue here is that longer traces have more of an impact on the decay because there are less values to average together. How do I produce an accurate plot showing what the average decay of this autocorrelation function should be?

回答 (0 件)

製品


リリース

R2017b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by