How to create a Simulink model that gives output 1 if input is even and 0 if it's odd?
21 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
The output must be displayed through a scope.
0 Kommentare
Antworten (1)
Arunkumar M
am 2 Dez. 2018
Use the rem function using interpreted matlab function and then use a switch to get your desired output
0 Kommentare
Siehe auch
Kategorien
Mehr zu Simulink Functions finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!