Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

if cout0 is greater than 8 then cout0 = 1 else cout0 = 0

1 Ansicht (letzte 30 Tage)
Ayesha Punjabi
Ayesha Punjabi am 20 Okt. 2018
Kommentiert: Rik am 20 Okt. 2018
  • cout0 = 8
  • cout1 = 16
  • I am trying to write a simple code of if else statement. My goal is to basically say if cout0 is greater than 8 then cout0 = 1 and less that 8 then cout0 = 0 similar for cout1
  1 Kommentar
Rik
Rik am 20 Okt. 2018
This question is very similar to your previous question, as is the solution. It seems a better idea to keep the conversation in one place to avoid any confusion.

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by