Plot of binary data
古いコメントを表示
Hello,
I want to plot a set of binary values such that each binary value will be shown for 50 seconds. I tried like this but was unable to get the pulse signal of binary values(0 and 1). binary =[1 1 0 1 0 0 1 0];assume this is my binary data
for l=1:1:length(binary)
for t=i:1:i+50
plot(t,binary(l),'-r');
ylim([-2 2]);
end
i=i+1;
end
can someone suggest in plotting this binary data(as I want to plot the data in real time).
Thank you.
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Graphics Performance についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
