Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Accessing elements of built in primes function
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
How can the a particular prime of the primes function, which returns a double, be accessed?
primes(15)
class(primes(15))
0 Kommentare
Antworten (1)
James Tursa
am 11 Nov. 2020
p = primes(15);
p(1) is the first element
p(2) is the second element
etc.
0 Kommentare
Diese Frage ist geschlossen.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!