Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
how to use "if" statement properly?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
i am performing an element -wise operation on 2 columns, A & B.
1. z=B./A
if z is less than 1 then reverse operation for that element and multiply by -1
2. if z<1 3. (A./B)*-1 end but it does not work. this should be simple. can someone help please thanks jb
1 Kommentar
Antworten (1)
Diese Frage ist geschlossen.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!