Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] how to plot zeros and ones of randn function

Status
Not open for further replies.

ReComm

Member level 2
Joined
Aug 26, 2010
Messages
43
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
Egypt
Activity points
1,627
Dear friends,

how to plot ones and zeros of the following command
data=randn(1,N)>=0; %Generating a uniformly distributed random 1s and 0s

Like a scope block function in simulik

Thanks,
 

//N=10
stem(data)
 
  • Like
Reactions: ReComm

    ReComm

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top