> 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

![](/files/-MihilesmFyYmxpkM2B2)

![](/files/-Mihileu8hxPQXh4Qg85) - [\[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.
