how i can fix the problem of isPrimitiveRoot ?

조회 수: 2 (최근 30일)
Radhwan Jawad
Radhwan Jawad 2022년 11월 25일
댓글: Radhwan Jawad 2022년 11월 25일
Hello matlab community, i have problem when i use this function (isPrimitiveRoot), where my vesion is R2017a, please help me..
https://www.mathworks.com/help/symbolic/isprimitiveroot.html
G = 1:11;
TF = isPrimitiveRoot(G,11)
The resulted error is:
Undefined function or variable 'isPrimitiveRoot'.

채택된 답변

Jan
Jan 2022년 11월 25일
편집: Jan 2022년 11월 25일
Open the documentation:
doc isprimitiveroot
Scroll down to find under "Version History":
Introduced in R2020a
This function did not exist in R2017a, as the error message tells.
You can fix this by uprading.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Discrete Math에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by