필터 지우기
필터 지우기

I find d from 7*d mod 40=1

조회 수: 5 (최근 30일)
Sakunrat Jaejaima
Sakunrat Jaejaima 2015년 6월 17일
댓글: Sakunrat Jaejaima 2015년 6월 18일
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
Walter Roberson
Walter Roberson 2015년 6월 18일
What is the error message?
Sakunrat Jaejaima
Sakunrat Jaejaima 2015년 6월 18일
I tried the codes but thereis no error shown. Matlab instead asked for/tried to open some matlab files

댓글을 달려면 로그인하십시오.

답변 (1개)

Walter Roberson
Walter Roberson 2015년 6월 18일
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
Sakunrat Jaejaima
Sakunrat Jaejaima 2015년 6월 18일
Thank you so mush .

댓글을 달려면 로그인하십시오.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by