Given the file thermocouple.dat data shown below, load the data using readmatrix and extract each set of thermocouple data and store it into separate text files (Thermocouple1.txt, Thermocouple2.txt, Thermocouple3.txt). Do not assume there will always be 3 columns - your script should work for any number of thermocouples. If you are having trouble downloading the file, try right-clicking and saving the link as.
Thermocouple 1
Thermocouple 2
Thermocouple 3
85.2 87.1 83.5 84.8 85.0 85.3 85.3 85.2 82.3 84.7 83.6
88.6 88.9 88.9 90.4 89.3 89.5 88.9 89.1 89.5 89.4 89.8
88.3 85.3 80.3 82.4 83.4 85.4 86.3 85.3 89.0 87.3 87.2