loop / pre-allocation / simulation problem

1 view (last 30 days)
samet
samet on 13 May 2014
Edited: Andrew Newell on 14 May 2014
Hi everbody, I try to make an simulation for FIGARCH model. Unfortunately, when I run the following code, it gives an error message:Subscripted assignment dimension mismatch
for i =1:1000
x = figarch_simulate (2500, [0.30 0.28 0.32 0.57],1,1);
mat(i,:)= x
end
??? Subscripted assignment dimension mismatch
here x is a time series. if I run the same code for different function, instead of figarch_simulate, everything is ok then. Could you help me on this issue ?

Answers (0)

Categories

Find more on Loops and Conditional Statements in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!