Info
この質問は閉じられています。 編集または回答するには再度開いてください。
Accessing elements of built in primes function
2 ビュー (過去 30 日間)
古いコメントを表示
How can the a particular prime of the primes function, which returns a double, be accessed?
primes(15)
class(primes(15))
0 件のコメント
回答 (1 件)
James Tursa
2020 年 11 月 11 日
p = primes(15);
p(1) is the first element
p(2) is the second element
etc.
0 件のコメント
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!