what is the function of (sub2ind)
Afficher commentaires plus anciens
a = eval(['sub2ind(20.*ones(1,20)'',20,1' ');'])
1 commentaire
John D'Errico
le 3 Fév 2018
Modifié(e) : John D'Errico
le 3 Fév 2018
More to the point, is why anyone in their right mind would ever want to write that code? A mess, with absolutely no good purpose.
Far better would be the simple:
a = 20;
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur LaTeX 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!