I find d from 7*d mod 40=1
Show older comments
I find d from 7*d mod 40 =1
syms d
eqn= 7*d==1;
solve(eqn,d,Domain=Dom::IntegerMod(40))
But there error. Help me please.
3 Comments
Geoff Hayes
on 17 Jun 2015
Sakunrat - please describe the error. Include the full text.
Walter Roberson
on 18 Jun 2015
What is the error message?
Sakunrat Jaejaima
on 18 Jun 2015
Answers (1)
Walter Roberson
on 18 Jun 2015
Try
feval(symengine, 'solve', eqn, d, sym('Domain=Dom::IntegerMod(40)'))
Domains are MuPAD objects, and you need to call into MuPAD to use them.
1 Comment
Sakunrat Jaejaima
on 18 Jun 2015
Categories
Find more on Special Values in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!