How to Shorten This Logical Expression?
12 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Rightia Rollmann
am 14 Aug. 2016
Beantwortet: Azzi Abdelmalek
am 14 Aug. 2016
What is the best way to rewrite A in the shortest way?
B = 1:14;
A = B == 1 | B == 2 | B == 3 | B == 7 ;
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (1)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!