Question: Matlab question for task 4 Bottom picture is for reference Task 4: report.txt Use function fprintf to create a text file named report.txt which has
Task 4: report.txt Use function fprintf to create a text file named report.txt which has the following: Your name on the first line Your PID on the second line . The string: 'sat id, max_speed, min_speed, orbital_period_before, orbital_period_after' on the third line Corresponding values of satellite ID, maximum speed and minimum speed, orbital periods before and after the change in orbits for each of the 6 satellite from line fourth to line tenth. Use single digit for the satellite ID and format %159e for others. report.txt A00000000 sat id, max _speed(m/s), min_speed(m/s), orbital_period_before(s), orbital_period_after(s) 1 7.879995519e+03 6.616288520e+03 5.668000000e+03 6.651000000e+03 2 7.841285791e+03 6.756773649e+03 5.668000000e+03 6.492000000e+03 3 7.802807041e+03 6.898087247e+03 5.668000000e+03 6.340000000e+03 4 7.764562167e+03 7.040233681e+03 5.668000000e+03 6.194000000e+03 5 7.726554837e+03 7.183216457e+03 5.668000000e+03 6.055000000e+03 6 7.688791470e+03 7.327036213e+03 5.668000000e+03 5.920000000e+03
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
