Compare voltage output with a constante?
1 view (last 30 days)
Show older comments
I am doing a schoolproject and need to make a controlsystem. I am trying to compare a voltage output with a constante value in a chart to turn on switches. Do anyone know how I do this the best way?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1004840/image.png)
1 Comment
Harshit Rastogi
on 23 May 2022
I think the voltage is an integer value. So, you can use Compare to constant block for comparing your output voltage to a constant value.
Please refer to the following link.
Answers (1)
Harshit Rastogi
on 26 May 2022
I think the voltage is an integer value. So, you can use Compare to constant block for comparing your output voltage to a constant value.
Please refer to the following link.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!