How to plot binary input ?
Mostra commenti meno recenti
how to plot binary input using matlab?
for example; a = [ 1 0 0 0 1 1 0 1 0 1 0 1 0 1 ]
Risposta accettata
Più risposte (5)
Wayne King
il 24 Nov 2011
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
il 24 Nov 2011
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
il 24 Nov 2011
0 voti
2 Commenti
Walter Roberson
il 24 Nov 2011
http://www.mathworks.com/help/techdoc/ref/stairs.html
Nasser
il 25 Nov 2011
salih
il 2 Gen 2015
0 voti
how polt binary even and odd from for example {0 0 1 1 0 0 }
Categorie
Scopri di più su Image Arithmetic in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!