Question: Write a java program that reads data from three separate data files (i.e. data1.txt, data2.txt, and data3.txt). Each of these files represents sampled data from
Write a java program that reads data from three separate data files (i.e. data1.txt, data2.txt, and data3.txt). Each of these files represents sampled data from a sensor at intervals of 0.5 seconds. Your program should read all data from the three separate files in the correct sequence (data1.txt, then data2.txt then data3.txt) and store into array y. Create an array x to contain the time values starting from -6 and increment by 0.5. Create a file combined_data.csv that combines both the x and y values (separated by a comma)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
