photo

SL


Last seen: ungefär ett år ago Active since 2021

Followers: 0   Following: 0

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Feeds

View by

Question


Trying to run ODE45 with system of two equations but its not working, any advice ? Thanks
g_i=9.81; Re=6378 ; h=100; T=100; Ae = 0.9; % sq m exit nozzle area Ar = 1.7; mSecondStage = 111500; % kg m0_propella...

nästan 3 år ago | 1 answer | 0

1

answer

Question


what to do when array indicies exceed for , FOR loop comparision for below , trying to plot density of atmosphere, how to do the comparison ?
h(1) = 0; T(1) = 273.15; p(1) = 101.2; for t = 1:328084 if h(t)<[11000] T(t+1) = 15.04 - 0.0064...

ungefär 3 år ago | 1 answer | 0

1

answer

Question


Array indices must be positive integers or logical values for loop expression
i do not know why but when I run this I get the error that array indicies must be positive, it is , isnt it ? Please help thank...

ungefär 3 år ago | 2 answers | 0

2

answers