Azzera filtri
Azzera filtri

How to create a Simulink model that gives output 1 if input is even and 0 if it's odd?

17 visualizzazioni (ultimi 30 giorni)
The output must be displayed through a scope.

Risposte (1)

Arunkumar M
Arunkumar M il 2 Dic 2018
Use the rem function using interpreted matlab function and then use a switch to get your desired output
temp.PNG

Categorie

Scopri di più su Simulink Functions in Help Center e File Exchange

Prodotti


Release

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by