File Exchange

image thumbnail

Solution Of System Of Congruences

version 1.0.0.0 (924 Bytes) by

This Matlab m file solve a system of congruence and give you a result

0 Downloads

Updated

View License

% A naive approach to calculate the solution for a
% system of congruences of the type...
% a1 x= b1 (mod m1)
% a2 x= b2 (mod m2)
% a3 x= b3 (mod m3)
% --------------
%---------------
% an x= bn (mod mn)
%Ther is exactly one solution of the system modulo[m1,m2.....mn]
%but the solution must lie in the set S={0,1,2....L} ,where L=lcm[m1,m2.....mn]
% the integer which satiesfy all the above equation is estentially the
% solution of that System.

Comments and Ratings (1)

Tariqul Dipu

good

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux

MATLAB Online Live Editor Challenge

Win cash prizes and have your live script featured on our website

Learn more

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video