Using For Loop in a function over all files in a folder with Matlab
1 回表示 (過去 30 日間)
古いコメントを表示
Dear Matlab Users,
I want to use for loop in a function over all files in a folder.
I want to apply the genhurst function over all files in a folder.
H = genhurst(S)
where S is the time series with 1*6154 vector.
In a folder, I have 20 excel files having 2 columns in each file. The first column represent the date whereas the 2nd column represent the time series. Further, I want to calculate the monthly average of the estimated values for each time series.
Please help me to loop this function, and take the monthly average of the estimated hurst values over all the files in a folder.
Thank you.
0 件のコメント
回答 (1 件)
参考
カテゴリ
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!