Creating a Burst Random signal in Matlab
Show older comments
Hi, I am trying to create a burst random signal in Matlab. I took a look at the rand command but I can't make a burst random signal using that command. Is there any other way that I can create it? Thanks in advance.
Answers (3)
Paulo Silva
on 29 Jun 2011
t=0:0.01:1;
h=stairs(t,randi([0 1],1,numel(t)));
axis([0 1 0 2])
YData=get(get(h,'children'),'YData'); %XData is the vector t
or
t=0:0.01:1;
h=stairs(t,rand(1,numel(t)));
axis([0 1 0 2])
YData=get(get(h,'children'),'YData'); %XData is the vector t
DINTA
on 19 Mar 2015
0 votes
matlab code for generating burst builder
Categories
Find more on Correlation and Convolution in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!