b = Inv( X`*X )*X`*y;
* operator
Multiply() function
Matrix Mult() function
/ operator
Divide() function
To use elementwise multiplication, use :* or the EMult() function.
To use elementwise division, use :/, or the equivalent EDiv() function.
A = [1 2 3, 4 5 6, 7 8 9, 10 11 12];
B = [0 1 2, 2 1 0, 0 1 1, 2 0 0];
C = [1 2 3 4, 4 3 2 1, 0 1 0 1];
D = [0 1 2, 2 1 0, 1 2 0];
R = A + B;
[1 3 5,
6 6 6,
7 9 10,
12 11 12]
R = A - B;
[1 1 1,
2 4 6,
7 7 8,
8 11 12]
R = A * C;
[9 11 7 9,
24 29 22 27,
39 47 37 45,
54 65 52 63]
R = A / D;
[1.5 0.5 0,
3 2 0,
4.5 3.5 0,
6 5 0]
R = A :* B;
[0 2 6,
8 5 0,
0 8 9,
20 0 0]
R = C * 2;
[2 4 6 8,
8 6 4 2,
0 2 0 2]
R = C / 2;
[0.5 1 1.5 2,
2 1.5 1 0.5,
0 0.5 0 0.5]
R = A :/ B;
[. 2 1.5,
2 5 .,
. 8 9,
5 . .]
Sqrt(), Root(), Log(), Exp(), ^ Power(), Log10()
Abs(), Mod(), Floor(), Ceiling(), Round(), Modulo()
Sine,() Cosine(), Tangent(), ArcSine(), and other trigonometry functions.
Normal Distribution(), and other probability functions.
A = [1 2 3, 4 5 6, 7 8 9, 10 11 12];
B = Sqrt( A ); // elementwise square root
[1 1.414213562373095 1.732050807568877,
	2 2.23606797749979 2.449489742783178,
	2.645751311064591 2.82842712474619 3,
	3.16227766016838 3.3166247903554 3.464101615137754]

Help created on 10/11/2018