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

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.

카테고리

제품

질문:

2025년 1월 7일

댓글:

2025년 1월 8일

Community Treasure Hunt

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

Start Hunting!

Translated by