> For the complete documentation index, see [llms.txt](https://docs.ladybug.tools/ladybug-primer/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ladybug.tools/ladybug-primer/components/4_extra/deconstruct_matrix.md).

# Deconstruct Matrix

![](https://894783789-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LPHXQ1I3gb93zpLrLZf%2Fuploads%2Fgit-blob-b35fb0bf911460ca479023c89e5ec77ec91ad684%2FDeconstruct_Matrix.png?alt=media)

![](https://894783789-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LPHXQ1I3gb93zpLrLZf%2Fuploads%2Fgit-blob-62bc86bec8af6fbac1235b92465e7efa3ef2b22d%2FDeconstruct_Matrix.png?alt=media) - [\[source code\]](https://github.com/ladybug-tools/ladybug-grasshopper/blob/master/ladybug_grasshopper/src//LB%20Deconstruct%20Matrix.py)

Deconstruct a Ladybug Matrix object into a Grasshopper Data Tree of values.

### Inputs

* **matrix \[Required]**

A Ladybug Matrix object such as the intersection matrices output from any of the ray-tracing components (eg. "LB Direct Sun Hours").

### Outputs

* **values**

The numerical values of the matrix as a Grasshopper Data Tree.
