How to print array value and it's undex?
显示 更早的评论
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
......................
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Tables 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!