Code doesn't run.
Mostra commenti meno recenti
s = "Matlab rocks";
fprintf (s(3));
Index exceeds the number of array elements. Index must not exceed 1.
Error (line 2)
fprintf (s(3));
Risposte (1)
s = "Matlab rocks";
fprintf ('%s\n',s);
4 Commenti
Kyara Christelle Riguerra
il 24 Mar 2022
s = "Matlab rocks";
s{1}(3)
s = "Matlab rocks";
sc = char(s) ;
sc(3)
Kyara Christelle Riguerra
il 24 Mar 2022
Categorie
Scopri di più su Matrix Indexing 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!