hello, i wanna plot say 30 paths of gbm, my problem is how to plot those paths cause my matrix (X1) is 3 dimensions
dt=1/250;r=0.2;sig=0.4;n=30;obj = gbm(r, diag(sig), 'StartState', 100)[X1,T] = obj.simulate(100, 'DeltaTime', dt,'ntrials',30);plot(T,X1)
Best Answer