what is the function of (sub2ind)
Ältere Kommentare anzeigen
a = eval(['sub2ind(20.*ones(1,20)'',20,1' ');'])
1 Kommentar
John D'Errico
am 3 Feb. 2018
Bearbeitet: John D'Errico
am 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;
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu LaTeX finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!