Note: This page has been translated by MathWorks. Please click here

To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

**Class: **LinearMixedModel

Fixed- and random-effects design matrices

`D = designMatrix(lme)`

```
D =
designMatrix(lme,'Fixed')
```

`D = designMatrix(lme,'Random')`

`Dsub = designMatrix(lme,'Random',gnumbers)`

```
[Dsub,gnames]
= designMatrix(lme,'Random',gnumbers)
```

Was this topic helpful?