How to design PWPF in Simulink

3 views (last 30 days)
Mert Alagözlü
Mert Alagözlü on 8 May 2021
Commented: Manish Vutkoori on 31 Aug 2022
I am trying to convert a signal to -1 when the output is at 30 degrees, otherwise +1. Is there a simple way to do it? I could'nt find a correct block box for the design below. Thank you.

Answers (1)

Amrtanshu Raj
Amrtanshu Raj on 16 May 2021
Hi,
You can use the switch block to get the functionality. You can change the condition to =30 and that would get the desired result.
Hope this helps.

Community Treasure Hunt

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

Start Hunting!