From: luigi vacca on
Hi,
I'd like to simulate Npaths, with each path comprised of Nsteps timesteps for the Heston process.
I have used the following code
obj = heston (ret, speed, level,vol);
obj.StartState = [S0 ; Vinit];
Corr = zeros(2,2);
obj.Correlation = Corr;
V=obj.simByEuler(Nsteps, 'deltatime', step, 'ntrials',Npaths);

However, upon inspection, the Npaths are all similar.
Any clues?
Thank you for your help.