Filter löschen
Filter löschen

Info

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

how can i use 'OR' logic inside IF statement ?

1 Ansicht (letzte 30 Tage)
Ashok
Ashok am 4 Mär. 2014
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
Sir, in my code O1 is an output of neural network. In 'O1'O is not a zero its an alphabet 'O'. then why should I use 'strcmp' in code.
  1 Kommentar
dpb
dpb am 4 Mär. 2014
I don't understand the question as posed but the result of your double loop in nn_new1 is simply
O1=O1>0.78;
no loops of if needed at all. "It's the Matlab way" :)
I think you need to explain what you're actually trying to do in the portion of the code with the 0-1 vectors and the variable name.

Antworten (0)

Diese Frage ist geschlossen.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by