How to solve question 5?
Afficher commentaires plus anciens
Réponses (1)
Example:
YourMatrix = magic(5)
SomeVariable = YourMatrix(1, 4:5) %copy last 2 elements of the first row
SomeOtherVariable = YourMatrix(3, [2 4]) %copy 2nd and 4th elements of the third row
Catégories
En savoir plus sur NaNs dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
