How to repeat a function several times?
显示 更早的评论
Hello everyone,
I have a function that calculates the time series of a growth rate assuming that the growth rate follows an AR(1) process. So the value t1 depends on t0 and so on. I do this procedure for different sample sizes. How can I repeat this function, say 1000 times, in the way, that the calculation begins from t0 for each simulation path and that the output is a ((1000*samplesize),x) matrix.
Thank you in advance.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Mathematics 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!