v0=0.01;
y=[0.094 0.15]
for c0=[1 2 5 6]
for c1=[5 6 8 7]
[y,v] = ode45(@(y,v)(([c0]/v^2)-([c1]/v)),y ,v0);
disp(v);
end
end
%%How would I get value of 'v' for each combination of c0 and c1. As there is 16 different combinations of c0 and c1 is possible.
%%How to get value for each combination
Best Answer