creating a scatter plot from a table

5 Ansichten (letzte 30 Tage)
Ivana Smith
Ivana Smith am 16 Apr. 2022
Kommentiert: Walter Roberson am 16 Apr. 2022
hello!
I want to start by saying I don't actually need a table, I'm just pretty sure I need one in order to make a scatter plot from it. In the code I have people do a task that has people respond "1" or "2" to a set of 5 images that are shown randomly and repeatedly. I want to create a 5X2 table with the name of each image being a row, and the 2 columns would be how many times the person responded 1 and the second column how mnany times the person responded 2.
I then want to make a scatter plot with the name of the 5 images as points along the X axis, and then the Y axis be the proportion of times (so like 0-1.0) that the person responded 2.
If there is a better to do this please let me know, alternatively I could assign a numerical value to each image maybe?
Thank you!

Antworten (0)

Tags

Produkte


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by