How the extract the value of odd places?
1 次查看(过去 30 天)
显示 更早的评论
I have 8*1 matrix and I need to extract 1,3,5,7 odd places value.
I have 8*1 matrix and I need to extract 2,4,6,8 even places value.
odd_point = objectpointsepoch1(__,:)
even_point = objectpointsepoch1(__,:)
0 个评论
采纳的回答
Image Analyst
2021-5-31
Hint:
odd_point = objectpointsepoch1(1:2:7)
You should have learned this basic syntax during the first half hour of learning MATLAB. Try this link:
0 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!