how i can fix the problem of isPrimitiveRoot ?

2 Ansichten (letzte 30 Tage)
Radhwan Jawad
Radhwan Jawad am 25 Nov. 2022
Kommentiert: Radhwan Jawad am 25 Nov. 2022
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'.

Akzeptierte Antwort

Jan
Jan am 25 Nov. 2022
Bearbeitet: Jan am 25 Nov. 2022
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.

Weitere Antworten (0)

Kategorien

Mehr zu Discrete Math finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by