How to plot binary input ?
Ältere Kommentare anzeigen
how to plot binary input using matlab?
for example; a = [ 1 0 0 0 1 1 0 1 0 1 0 1 0 1 ]
Akzeptierte Antwort
Weitere Antworten (5)
Wayne King
am 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
am 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
am 24 Nov. 2011
0 Stimmen
2 Kommentare
Walter Roberson
am 24 Nov. 2011
http://www.mathworks.com/help/techdoc/ref/stairs.html
Nasser
am 25 Nov. 2011
salih
am 2 Jan. 2015
0 Stimmen
how polt binary even and odd from for example {0 0 1 1 0 0 }
Kategorien
Mehr zu Image Arithmetic finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!