Hi Yeray,
I have a few suggestions for this vectorization,
In the calculation of 'A' and 'B', the functions sind and cosd can work simulatneously on vectors. So passing all the Thrust values and ThrustAngle values as a vector should help you here.
temp = Thrust_vec .* sind(Thrust_angle)
Notice how all 'Thrust' values that are iterated have been collected in a single vector 'Thrust_vec'. Similarly, you may vectorize all your other variables as well.
Please refer to rehape and permute functions, which you may often need while looking to vectorize your code.
Further, please read this doc on how to modify your code for 'parfor':
Hope it Helps!