From d2f4d30ebcad7430e4f0495cae5c2b3a16be73ce Mon Sep 17 00:00:00 2001 From: rupak Date: Tue, 21 Jan 2020 19:05:09 +0530 Subject: added help files --- help/en_US/scilab_en_US_help/gflineq.html | 85 +++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 help/en_US/scilab_en_US_help/gflineq.html (limited to 'help/en_US/scilab_en_US_help/gflineq.html') diff --git a/help/en_US/scilab_en_US_help/gflineq.html b/help/en_US/scilab_en_US_help/gflineq.html new file mode 100644 index 0000000..4c3d2f7 --- /dev/null +++ b/help/en_US/scilab_en_US_help/gflineq.html @@ -0,0 +1,85 @@ + + + gflineq + + + +
+ + + + +
+ << gfcosets + + + FOSSEE_Communication_Systems_Toolbox + + + gfrepcov >> + +
+
+
+ + + + FOSSEE_Communication_Systems_Toolbox >> FOSSEE_Communication_Systems_Toolbox > gflineq + +

+

gflineq

+

This function finds a solution for linear equation Ax = b over a prime Galois field.

+ + +

Description

+

[X, SFLAG] = GFLINEQ(A, B) returns a particular solution (X) of AX=B in GF(2). +If the equation has no solution, then X is empty and SFLAG = 0 else SFLAG = 1.

+

[X, SFLAG]= GFLINEQ(A, B, P) returns a particular solution of the linear +equation A X = B in GF(P) and SFLAG=1. +If the equation has no solution, then X is empty and SFLAG = 0.

+

+

+ +

Examples

+
A=[1 0 1; 1 1 0; 1 1 1]
+p=3
+[x,vld] = gflineq(A,[1;0;1],p)
+disp(A,'A=')
+disp(x,'x=');
+if(vld)
+disp('Linear equation has solution x')
+else
+disp('Linear equation has no solution and x is empty')
+end
+disp( pmodulo(A*x,p),'B =')
+ +

Authors

+
+
+ +
+ + + + + + +
Report an issue
+ << gfcosets + + + FOSSEE_Communication_Systems_Toolbox + + + gfrepcov >> + +
+
+
+ + -- cgit