- #1

Juan Angel

- 1

- 0

I am new to the forum and I am also a newbie to programming. I want to convert a Mathematica code to Matlab, but I don't understand how to translate these lines. This code is Mathematica 5.0.

```
defvar := Module[{a},
Clear[ cN, cNf, ginix ];
Clear[ Nh, Nhf, gini ];
cN = Array[Nh, dim]; cNf = Array[Nhf, dim];
ginix = Array[gix, steps];]
```

where dim = 1000; steps = 1.

I thank you very much!