MATLAB solve
From: George (georgekurian79_at_yahoo.com)
Date: 01/30/05
- Next message: Richard Fateman: "Re: GPL vs LGPL vs CAS"
- Previous message: Bernard Parisse: "Re: GPL vs LGPL vs CAS"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 30 Jan 2005 15:33:43 +0000 (UTC)
Hi
I need to solve a set of linear equations , for example
4*a+b=17 and 19*a+b=3
I need to find the solution for a and b , the only issue being that I
need all the operations ie the multiplication and addition operations
to be under mod 26
I tried this out but it did not work
A=solve('(mod(mod(4*a,26)+b),26)=17','(mod(mod(19*a)+b)=3')
??? Error using ==> solve
'(mod(mod(4*a,26)+b),26)=17' is not a valid expression or equation.
I know the solution ( under mod 26 operations ) is a= 6 and b= 19
How do I implement mod operations on the solve ?
George
- Next message: Richard Fateman: "Re: GPL vs LGPL vs CAS"
- Previous message: Bernard Parisse: "Re: GPL vs LGPL vs CAS"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|