- Log in to MATLAB
- Enter those commands exactly as written
- See what the output looks like
- Submit that answer to your teacher
Arrays combination
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Given
a = -5:1:-2
b = [-12, 0, -3, -6]
c = 0:-2:-7
What answer will the following commands produce in Matlab?
(a < b) & (a < c)
(b > c) | (a < c)
(b ~= c) | 1
~(b > c) & ( a > b)
(~c | a) & b
Show me some steps or fully explain on how to get Answers for this question.
0 commentaires
Réponses (1)
the cyclist
le 6 Avr 2011
The steps are:
[Feel free to ask some specific questions if you get stuck at any of those steps.]
5 commentaires
Peter Manley-Cooke
le 6 Avr 2011
Personally I would have read the stuff you are supposed to have read and just "know what the symbols mean". Sorry
Voir également
Catégories
En savoir plus sur Loops and Conditional Statements dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!