I am new to MATLAB and currently working on my homework assignment. I am trying to declare the `x`

variable as the following:

Create a linearly spaced array

`x`

of size (1 × 200) comprising values ranging from`–pi`

to`pi`

.

I've tried this code:

```
x=[-pi:200:pi];
```

but I'm not sure if it's the correct way to do this or not.