How to print array value and it's undex?
Mostrar comentarios más antiguos
I have an array of single column data, array length of about ~8000 members.
I want to print some data interval from array, so id array is named 'data', I use a single line
data(6500:end)
and this outputs a list of elements starting of element#6500 to the end of array.
How I can print element index along with it's value?
F.e. initially I have output:
100
105
103
120
.......
and I want to see something like :
6500 100
6501 105
6502 103
6503 120
......................
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Logical en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!