what is the function of (sub2ind)
Mostra commenti meno recenti
a = eval(['sub2ind(20.*ones(1,20)'',20,1' ');'])
1 Commento
John D'Errico
il 3 Feb 2018
Modificato: John D'Errico
il 3 Feb 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;
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su LaTeX in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!