Given the row value of a specific variable in a table, find the corresponding row index.
Mostra commenti meno recenti
An extended question of this part:
Is there any way to locate the row indices of "Manchester City" and "Manchester United" (observations of the variable "Team" in the table) instead of 'observing the rows directly'?
Or more generally, given a value of a specific variable, how could I get its row index for extraction?

1 Commento
Geoff Hayes
il 30 Gen 2020
Can you extract the first column (if that corresponds to team names) of data (from the table) and the do a find or strcmp (assuming cell array of strings for the teams) to get the row indices of those matching teams?
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Time Series Objects in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!