how polt binary even and odd from for example {0 0 1 1 0 0 }
Info
This question is closed. Reopen it to edit or answer.
Show older comments
how polt binary even and odd from for example {0 0 1 1 0 0 }
Answers (1)
Azzi Abdelmalek
on 2 Jan 2015
Edited: Azzi Abdelmalek
on 2 Jan 2015
a=[0 0 1 1 0 0]
stem(a,'r')
3 Comments
salih
on 2 Jan 2015
Azzi Abdelmalek
on 2 Jan 2015
even_s=a(2:2:end)
odd_s=a(1:2:end)
salih
on 3 Jan 2015
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!