ERROR DISPLAYED:
??? Error using ==> mldivide
Out of memory. Type HELP MEMORY for your options.
Error in ==> RocketGamma2 at 75
a = deltav/deltat;
CODE:
yo = [0;0];
[t y] = ode15s('F_Rocket',t,yo);
deltav = diff(y(:,2));
deltat = diff(t);
a = deltav/deltat;
figure;
plot (t(1:nc-1),a); grid on;
xlabel('Tiempo [s]');
ylabel('Aceleracion [m/s^2]');
title('Aceleracion vs. Tiempo');
I'm asking for an alternative way of obtaining the same result, if possible, without having to make memory adjustments.
Thanks, Moya
Best Answer