Thanks Henric
Let the array a be declared as a = [ 1, 2; 2, 3; 1, 2; 2, 3]. The assignment statement a(4:-1:1, 3:-1:1)=0 results in
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
mayur saraiya
le 19 Mai 2014
Réponse apportée : Image Analyst
le 20 Mai 2014
Let the array a be declared as
a = [ 1, 2; 2, 3; 1, 2; 2, 3]
The assignment statement a(4:-1:1,3:-1:1)=0 results in Select one:
a. An error.
b. a is a 4x3 matrix of 0’s
c. a = [0, 2, 0; 0, 3,0; 0, 2, 0; 2, 3, 0].
d. a = [ 1, 2, 0; 2, 3,0; 1, 2, 0; 2, 3, 0].
Réponse acceptée
Plus de réponses (1)
Image Analyst
le 20 Mai 2014
Just do it. Do it yourself in MATLAB and see what the answer is. No need to ask us to do your exam for you - MATLAB will do it for you.
0 commentaires
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!