how to save the index during for loop?
2 views (last 30 days)
How to save the index data and as i am not getting it? i have mention in the loop my question.
GM=398600.44; %unit is in km^3/s^2
a_e=26560.4021; %semi-major of the earth value is in km
a=26500; % semi major axis of the GPS
n = sqrt(GM/(a*a*a));
%% help me in the loop for plotting ????????????????????????
xlabel('Omega dot and omega dot')
David K. on 23 Jul 2019
A couple different things can fix this, but I would suggest this one just creating the variable a again after your for loop ->
for a = 6838:1:l
a = 6838:1:l;
Also, after doing this if the plot looks weird to you still, I would suggest switching a and d_omega_drei in your plotting.