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

3 Ansichten (letzte 30 Tage)
Igor Fragoso
Igor Fragoso am 22 Aug. 2022
Bearbeitet: Voss am 22 Aug. 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

Akzeptierte Antwort

Voss
Voss am 22 Aug. 2022
data = readmatrix('22-08-2022_12-59-07_Results.txt');
data(47,3)
ans = 10.9200
  2 Kommentare
Igor Fragoso
Igor Fragoso am 22 Aug. 2022
Thank you very much. It works fine!!!! Best Regards, Igor
Voss
Voss am 22 Aug. 2022
Bearbeitet: Voss am 22 Aug. 2022
You're welcome!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Matrices and Arrays finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by