how to create return to zero and non return to zero waveform for a random bit sequence
6 views (last 30 days)
Show older comments
want to generate return to zero and non return zero waveforms for a randomly generated bit sequence
0 Comments
Answers (1)
Star Strider
on 30 Nov 2014
This will return a N-length vector of random [0,1] values:
N = 1000; % Length Of Vector
S = randi([0 1], 1, N); % Create (1xN) Vector Of Random [0 1] Values
See Also
Categories
Find more on Waveform Generation 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!