Activity
Last updated
Last updated
To participate in this activity, you'll need to have MATLAB open on your computer. To do this, please follow the instructions under Accessing MATLAB --- to save installing anything, I recommend you use MATLAB Online.
To do this, click the "Upload" button under the HOME tab, then navigate to and select the data.csv
file.
In the Command Window, enter the following (hint: use copy and paste) after the >>
prompt:
mystery = importdata('data.csv')
Then click Enter (or Return) on your keyboard.
This will save the data.csv
file under the variable name mystery
.
In the Command Window, enter the following command after the >>
prompt:
imshow(mystery)
Then click Enter (or Return) on your keyboard.
imshow()
is a function in MATLAB which will show an image. This function takes one argument (piece of information): the image, which in this case is mystery
.
For more information on imshow()
, please visit: https://au.mathworks.com/help/images/ref/imshow.html