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

3 visualizaciones (últimos 30 días)
Igor Fragoso
Igor Fragoso el 22 de Ag. de 2022
Editada: Voss el 22 de Ag. de 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

Respuesta aceptada

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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Matrices and Arrays en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by