I want to find d from 7*d mod 40=1 But error .help me please.

I tried the codes but thereis no error shown. Matlab instead asked for/tried to open some matlab files
syms d Eqn=='7*d==1'; Sold=solve(eqn,d,Domain=Dom::IntegerMod(40))

 Accepted Answer

syms d
Eqn=7*mod(d,40)-1;
Sold=solve(Eqn,d)

2 Comments

7*d mod 40==1 ans 23 Why you do = 1/7
I want to solve the equation in mod.what to do

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!