That is not possible. The output when i=2 depends on y(:,2) having been set properly, but y(:,) has not been assigned to until i=1 is finished.
There are particular functions where it might be possible to do some of the work in parallel and then do fix-ups, but I suspect that those cases work out the same as the functions that there are known analytical solutions for, and you are either given the analytical solution or can find it using the symbolic toolbox.
0 Comments
Sign in to comment.