I'm trying to have my loop display each variation up to the certain row I picked.
I can not figure out how to display/fprint my loop with a variable name such as;
I'm trying to do this within only a few fprintf statments without adding more variables.
fprintf('Maximum Acceleration is %.2f.\n', Max_Accel(i));
fprintf('Minimum Acceleration is %.2f.\n\n', Min_Accel(i));
the fprintf output:
Maximum Acceleration is -41.10.
Minimum Acceleration is -90.60.
Maximum Acceleration is 9.30.
Minimum Acceleration is -11.10.
Maximum Acceleration is -0.10.
Minimum Acceleration is -10.70.
what I would like is:
Maximum Acceleration 'in the x' is 10.30.
Minimum Acceleration 'in the x' is -33.30.
Maximum Acceleration 'in the y' is 10.30.
Minimum Acceleration 'in the y' is -33.30...