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!