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.

please help explain this weird waveform

Status
Not open for further replies.

maninnet

Member level 5
Joined
Oct 25, 2007
Messages
90
Helped
2
Reputation
4
Reaction score
0
Trophy points
1,286
Activity points
1,832
i built a very simple simulink model as in the attachment, and capture the simulation result.
Why the waveform is kinda weird? It seems that the scope usually does not display
an accurate waveform unless we plot it using some plot command in the workspace, could someone explain and help fix it thanks.
 

bulx

Full Member level 4
Joined
Aug 7, 2004
Messages
225
Helped
47
Reputation
94
Reaction score
17
Trophy points
1,298
Activity points
1,520
Your sampling rate is not enough.

You have set the rate of the generator as 0 (may be it means use sampling time of the following connected block (a scope here)). Give a sampling rate of some 5-10 samples per cycle if you want to see a pleasing waveform. (this would slow down the simulation if you had had a large simulation)
- b
 

    maninnet

    Points: 2
    Helpful Answer Positive Rating

maninnet

Member level 5
Joined
Oct 25, 2007
Messages
90
Helped
2
Reputation
4
Reaction score
0
Trophy points
1,286
Activity points
1,832
got it, i made a stupid setup, thank you for pointing out the cause.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top