How do I get a value in a table with a known index?

3 vues (au cours des 30 derniers jours)
Igor Fragoso
Igor Fragoso le 22 Août 2022
Modifié(e) : Voss le 22 Août 2022
Dear Sirs,
I have a text file, with three columns. I know that de 47th value (index 47) in the first column is 5.12, but I don't know how to get the value in the same index, but at third column.
Maybe it's a simple question but I apreciate any help.
Regards,
Igor

Réponse acceptée

Voss
Voss le 22 Août 2022
data = readmatrix('22-08-2022_12-59-07_Results.txt');
data(47,3)
ans = 10.9200
  2 commentaires
Igor Fragoso
Igor Fragoso le 22 Août 2022
Thank you very much. It works fine!!!! Best Regards, Igor
Voss
Voss le 22 Août 2022
Modifié(e) : Voss le 22 Août 2022
You're welcome!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Matrices and Arrays 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