Plot two categorical columns from a table
이전 댓글 표시

I have this table
I am trying to plot column 4 and 7 on a graph, however they are not numerical values.
I want to see if theres' a correlation between the two.
Is there any way to do this?
댓글 수: 2
KSSV
2018년 4월 12일
How you can get correlation among a string and number?
Peter Perkins
2018년 4월 13일
Two strings, actually. Everything in the table(?) is text.
답변 (1개)
Peter Perkins
2018년 4월 13일
0 개 추천
The question you are asking seems like you need to think in terms of contingency tables. The Statistics Toolbox has some tools to work with those.
The onl;y plot I know of for categorical vs. categorical is called a mosaic plot. I believe there's an implementation on the File Exchange.
카테고리
도움말 센터 및 File Exchange에서 Tables에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!