Effacer les filtres
Effacer les filtres

Extracting time values when specific conditions are met

1 vue (au cours des 30 derniers jours)
Dooyoung Kim
Dooyoung Kim le 2 Juil 2018
Réponse apportée : KSSV le 2 Juil 2018
Hi! I've been trying to calculate response times to the repetition of an event. Whenever an image was repeated, ChangeReg value is 0. I want to extract time values when there was a repetition and when there was a response and store them in a new column to calculate the response time. I would appreciate any tips! I attached a screen shot of the table.

Réponses (1)

KSSV
KSSV le 2 Juil 2018
YOu need read the excel file data into matlab first and then use logical indexing.
[num,txt,raw] = xlsread(myfile) ;
Now, you can use logical indexing to extract the data you want.

Catégories

En savoir plus sur Structures dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by