> For the complete documentation index, see [llms.txt](https://nkintc.gitbook.io/brainless/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nkintc.gitbook.io/brainless/steam/technology/programs/matlab-and-octave.md).

# Matlab and Octave

```
z = 4*sin(2*y+sin(2*y+x))+cos(5/2*(x)) ;
[x,y] = meshgrid(-1:0.1:1);
z = 4*sin(2*y+sin(2*y+x))+cos(5/2*(x));
surf(x,y,z)
```
