```
A = {'a','b','c','b','a',...}

```

`A` is a `<1X400>` cell array and I want to create a matrix from `A` such that if the cell is `a`, the matrix shows 1, if it is `b`, it shows as 2 in the matrix and 3 for `c`.

Thank you.