Using For Loop in a function over all files in a folder with Matlab
1 view (last 30 days)
Show older comments
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 Comments
Answers (1)
See Also
Categories
Find more on MATLAB Report Generator 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!