I am running a simulation in MATLAB for an aircraft and need to ensure that my pitch angle does not radically change once an altitude command is sent. As seen in the image:
After around 140 seconds the changes to pitch angle are too drastic and need to be gradual instead of happening so quickly. What kind of pass/fail test can I run to ensure the changes to angle are gradual over time? I have the values in an array and am able to compare each. I could take the derivative and calculate the rate of change of angle but over what period of time?
