Generate signal according to the the rising edges of two pulse generators in simulink.

6 views (last 30 days)
Assume there are two pulses A and B with arbitrary periods and pulse widths.
I want to use existing popular blocks(without MATLAB Function) to realize such functionality--
it sets the output as 1 at the rising edge of A if B=0 and resets the output to 0 at the rising edge of B.
I have been thinking for a whole day without a good solution.
Anyone please help me on that.

Answers (1)

Fangjun Jiang
Fangjun Jiang on 7 Jan 2025

Products

Community Treasure Hunt

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

Start Hunting!