How to sort data (multiple rows into one)
Show older comments
I need to sort data from multiple rows in one row. We used multiple trials (= target_number) in an experiment and the software stored the target_type, number_picture, duration, cue_condition, current_cue_picture, etc. for each trial. I've colored below the data that belongs together to one trail:

I'm interested in the identification_button and identification_RT for each trial. So I guess the data must be sorted like:

Is there a way to sort it with MATLAB automatically?
Accepted Answer
More Answers (1)
Nadine
on 15 Mar 2021
0 votes
Categories
Find more on Tables in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!