mat1(mat2) = mat1 assignment.
Afficher commentaires plus anciens
How does the mat1(mat2) = mat1 assignment work given two one dimensional arrays like so:
ThemeCopy
t1 = [ 0 1 2 3 4 5 6 ];
t2 = [ 7 6 5 4 3 1 1 ];
t1(t2)=t1
t1 = 1×7
6 1 4 3 2 1 0
What is the "pattern"? - and how would you implement something like this in C++/pseudo code?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur MATLAB Report Generator 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!