Clear Filters
Clear Filters

how i can fix the problem of isPrimitiveRoot ?

1 view (last 30 days)
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'.

Accepted Answer

Jan
Jan on 25 Nov 2022
Edited: Jan on 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.

More Answers (0)

Categories

Find more on Discrete Math in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!