Clear Filters
Clear Filters

Help in construct pulse on Signal Builder

3 views (last 30 days)
Hi... How i construct two pulses in the same Signal Builder, like this:

Accepted Answer

Fangjun Jiang
Fangjun Jiang on 17 Oct 2011
Start with a Square signal and then you can drag and drop any part of the signal lines to make whatever you want.
  4 Comments
Doug Eastman
Doug Eastman on 20 Oct 2011
The trick there is to repeat a value in the time vector like I mentioned above. If your time is [0 1 1 2] and your value is [0 0 1 1] that will create a rising edge at 1 second.
Fangjun Jiang
Fangjun Jiang on 20 Oct 2011
That is weird but good! I thought I tried before but it was telling me that the time stamp needs to be strictly incremental. Thanks, Doug!

Sign in to comment.

More Answers (0)

Categories

Find more on Signal Generation and Preprocessing in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!