How to make pulse sequence in a single plot with specific conditions?

조회 수: 1 (최근 30일)
aneps
aneps 2017년 10월 27일
답변: Walter Roberson 2017년 10월 27일
I want to make pulse sequence in a single plot. For example I have 4 pulses.
Pulse 1 is a square pulse with 1ms width and repetition frequency of 5ms
Pulse 2 is a square pulse with 10 ms width and repetition frequency of 40 ms
Pulse 3 is a square pulse with 2 ms width BUT triggered by the falling edge of the Pulse 2.
Pulse 4 is a square pulse with 2 ms width BUT triggered by the rising edge of the Pulse 2.
How can I make this in a single plot one below another? I would like to use variables for pulse widths and repetition frequencies.

답변 (1개)

Walter Roberson
Walter Roberson 2017년 10월 27일
You could consider using waterfall()

카테고리

Help CenterFile Exchange에서 Pulse and Transition Metrics에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by