How the extract the value of odd places?

1 Ansicht (letzte 30 Tage)
vimal kumar chawda
vimal kumar chawda am 31 Mai 2021
Beantwortet: Image Analyst am 31 Mai 2021
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(__,:)

Akzeptierte Antwort

Image Analyst
Image Analyst am 31 Mai 2021
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:

Weitere Antworten (0)

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Produkte


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by