Re: [Scilab-users] Question about expm function

2017-02-02 Thread Stéphane Mottelet
Hello, The matrix exponential is defined as expm(A)=I+A+1/2*A^2+...+1/k!*A^k+... where the "*" denotes the matrix product. You can obtain what you wanted with exp(A) i.e. element-wise exponential of A S. Le 02/02/2017 à 09:49, Jean Rubagenga a écrit : Hi, I am trying to use expm() and do

[Scilab-users] Question about expm function

2017-02-02 Thread Jean Rubagenga
Hi, I am trying to use expm() and do not get what I am expecting. I enter A = [1,0.5,0.7;0.3,0.7,1;1,0,1] and B = expm(A) and get as result B = 4.16725191.38541592.8881517 2.16726282.40079313.0513947 3.17163590.66800663.96685. I expected the matrix B elemen