# Activity

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](/matlab/getting-started/access.md) --- to save installing anything, I recommend you [use MATLAB Online](/matlab/getting-started/access/online.md).

### Download a copy of the data and save it on your computer

{% file src="/files/72AKAVyt35INhL1pt6xZ" %}

### Upload the data file to MATLAB

To do this, click the "Upload" button under the HOME tab, then navigate to and select the `data.csv` file.

### Import the data into the MATLAB Workspace

In the Command Window, enter the following (hint: use copy and paste) after the `>>` prompt:&#x20;

`mystery = importdata('data.csv')`

Then click Enter (or Return) on your keyboard.

{% hint style="info" %}
This will save the `data.csv` file under the variable name `mystery`.
{% endhint %}

### Show the image hidden within the CSV file

In the Command Window, enter the following command after the `>>` prompt:&#x20;

`imshow(mystery)`

Then click Enter (or Return) on your keyboard.

{% hint style="info" %}
`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>
{% endhint %}

### What do you see?


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://meirian.gitbook.io/matlab/getting-started/activity.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
