Visualize a Dendrogram as text

3 views (last 30 days)
Shannon Stoffel
Shannon Stoffel on 10 Jul 2017
Answered: Cam Jones on 14 Jul 2017
I would like to visualize my dendrogram in text format. I put an example of what I had in mind below. Is there a way to do this in matlab? Thanks!

Answers (1)

Cam Jones
Cam Jones on 14 Jul 2017
There is no direct function to convert a dendrogram to a text format such as above.
However, using the underlying data, you could store that data in a table. One of the features of the table data structure in MATLAB is you are able to specify headers for the columns.
If you wanted to write the data to a file, you could then use the "writetable" function, linked below.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!