Boolean to double without changing the boolean
2 ビュー (過去 30 日間)
古いコメントを表示
Im trying to make a switching signal for a DCAC inverter.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/145860/image.png)
When i convert my boolean signal from the "Relational Operator" to a double signal (to run the switches), the signal changes from the correct digital switching signal into an partial digital and partial triangular signal.
So the "data type converter" do not give me the digital 1 and 0 that i want.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/145861/image.png)
Which settings are necessary to get a clean 1 and 0 double signal?
0 件のコメント
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!