How to design PWPF in Simulink
조회 수: 9 (최근 30일)
이전 댓글 표시
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/612005/image.png)
답변 (1개)
Amrtanshu Raj
2021년 5월 16일
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.
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!