[Scilab-users] Question about expm function
Jean Rubagenga
jean.rubagenga at gmail.com
Thu Feb 2 09:49:45 CET 2017
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.1672519 1.3854159 2.8881517
2.1672628 2.4007931 3.0513947
3.1716359 0.6680066 3.96685.
I expected the matrix B elements to be exponents of corresponding elements
of matrix A. For example
B(1,1) = B(2,3) = B(3,1) = B(3,3) = 2.7182818
Could you please explain to me what is going on?
Thanks
Jean
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20170202/340f3407/attachment.htm>
More information about the users
mailing list