how can i plot a matrix with corresponding feature names

1 Ansicht (letzte 30 Tage)
I am expecting to plot a matrix (57*32) 57 rows of measurements with 32 features. I have the data in a structure.
how to visualize this type of data effectively.

Akzeptierte Antwort

Star Strider
Star Strider am 19 Mai 2014
Bearbeitet: Star Strider am 19 Mai 2014
For ‘visualize’, I suggest bar3.
  2 Kommentare
Yuvashree Mani Urmila
Yuvashree Mani Urmila am 20 Mai 2014
That works. Can you suggest me a way to cluster this data and then plot the clusters. Thank You
Star Strider
Star Strider am 20 Mai 2014
Great!
I’m not exactly sure what you mean by ‘cluster’. There are the 'grouped' and 'stacked' options, and the bars in the default plot are by the rows and columns in the original matrix. You can change the x and y information plotted on the axis ticks with a few lines of code, and can be the names of the data in the rows or columns, if the data in the rows and columns have names. (They don’t have to be the default row and column numbers.)
There are a number of ‘cluster’ algorithms in the Statistics Toolbox. See the Cluster Analysis section for details.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by