How to plot binary input ?
이전 댓글 표시
how to plot binary input using matlab?
for example; a = [ 1 0 0 0 1 1 0 1 0 1 0 1 0 1 ]
채택된 답변
추가 답변 (5개)
Wayne King
2011년 11월 24일
a = [ 1 0 0 0 1 1 0 1 0 1 0 1 0 1 ];
stem(a,'markerfacecolor',[0 0 1]);
set(gca,'ylim',[-1.5 1.5])
Jan
2011년 11월 24일
a = [ 1 0 0 0 1 1 0 1 0 1 0 1 0 1 ];
plot(a);
or perhaps:
plot(1:length(a), a, 'o');
Nasser
2011년 11월 24일
0 개 추천
댓글 수: 2
Walter Roberson
2011년 11월 24일
http://www.mathworks.com/help/techdoc/ref/stairs.html
Nasser
2011년 11월 25일
salih
2015년 1월 2일
0 개 추천
how polt binary even and odd from for example {0 0 1 1 0 0 }
카테고리
도움말 센터 및 File Exchange에서 Image Arithmetic에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!