Getting an array with data
이전 댓글 표시
Hello,
I have a question regarding getting data from an array
I have one array of data. lets say (array 1):
Index Speed # 1 5 # 2 9 # 3 4 # 4 5
(index 1 has value 5 , index 2 has value 9 etc)
I made another array (array= indexdata) which contain the indexnumbers of the values which are interested for me ( lets say i only want to look at index number two which has the value 2).
So how can i program that matlab makes a new array of the values of the first arrays, whose indeces are listed in the second array,
it sounds complicated but what i want is easy :)
채택된 답변
추가 답변 (1개)
Hello kity
2012년 12월 12일
0 개 추천
댓글 수: 1
Vishal Rane
2012년 12월 12일
Recommend you to create a separate thread for this question, since this question is already marked as answered.
카테고리
도움말 센터 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!