Calculate the time-averaged value every 10 iterations
古いコメントを表示
Hi,
I do the calculation of X (k) 1000x1 in a time loop for t = 1: 10000 (note that X does not have an iteration t) and I want to put a condition when t = 9000 to compute the averaged value (in the time) of X every 10 iterations ot t and when t> = 9000 : 10000
I want to get the size of X average like that 1000x10 without introducing a time iteration t in the variable X
is there a way to do that?
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Boundary Conditions についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!